faqts : Computers : Programming : Languages : PHP

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

3 of 11 people (27%) answered Yes
Recently 3 of 10 people (30%) answered Yes

Entry

is it possible to launch an executable(C++) from excel on remote cluster via PHP?

Feb 24th, 2008 19:46
dman, taylor gerring, steven forsee, http://www.ttnr.org


you can use php to execute a system call several. This first and more 
common is through the use of the system() function. It exectures the 
string argument and returns the output. for example, to show the 
output of an dir on a windows machine (or an ls on a unix box), you 
might try something such as this:
echo system("dir");
additionally, php can execute system calls through the use of 
backticks (echo `dir`;) and a number of other methods which can be 
found at http://www.php.net/manual/en/ref.exec.php