Posted by giloosh on 10/14/06 11:37
hello,
i want to execute an app on the server.
i tried using the shell_exec() and exec() and popen() and system()
functions.
when ever i used either of the functions i would notice that the opened
app, cmd.exe and php-cgi.exe process are running in the background and
never ending. this also causes the php page to timeout.
if were to run the batch file by hand it wold execute like its suppose
to. when i do it through php it doesnt.
my code looks like this:
<?
exec("start.bat");
?>
what could i be doing wrong?
thanks
[Back to original message]
|