note 30874 rejected from function.shell-exec by alindeman

From: Date: Tue, 01 Apr 2003 21:38:12 +0000
Subject: note 30874 rejected from function.shell-exec by alindeman
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-46099@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");

« previous php.notes (#46099) next »