note 30874 added to function.shell-exec
| From: | aanagai at earthlink dot net | Date: | Tue, 01 Apr 2003 21:00:52 +0000 |
| Subject: | note 30874 added to function.shell-exec | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-46093@lists.php.net to get a copy of this message | ||
I have php running on win 98. I want to execute a batch file from php. This batch file executes some
copy commands and executes another php file. Ive tested this php file. It works. Doesnt display
anything. It does some db stuff. When I use shell_exec or exec or passthru to execute the batch
file, php always hangs. I have to restart my computer. Whats going on?
syntax im using:
shell_exec("c:\inetpub\wwwroot\upload\test.php");
--
http://www.php.net/manual/en/function.shell-exec.php
http://master.php.net/manage/user-notes.php?action=edit+30874
http://master.php.net/manage/user-notes.php?action=delete+30874
http://master.php.net/manage/user-notes.php?action=reject+30874