Reply to execute a file

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация