Executing Program from PHP
Posted: Wed Feb 08, 2006 1:27 pm
Hi:
I am trying to execute a C program by
$last_line = system('/doc/tmp/filter', $retval);
Where Filter is Output file on Linux located in directory /doc/tmp. My php file is in my web directory. How can I call execuateble file Filter to run it from my php file.
Thanks,
Krishma
I am trying to execute a C program by
$last_line = system('/doc/tmp/filter', $retval);
Where Filter is Output file on Linux located in directory /doc/tmp. My php file is in my web directory. How can I call execuateble file Filter to run it from my php file.
Thanks,
Krishma