Bug #11677 Updated: system(), "Access is denied"

From: Date: Tue, 26 Jun 2001 10:30:41 +0000
Subject: Bug #11677 Updated: system(), "Access is denied"
Groups: php.dev 
Request: Send a blank email to php-dev+get-58016@lists.php.net to get a copy of this message
ID: 11677 Updated by: sniper Reported By: jxu158@yahoo.com Old-Status: Open Status: Feedback Bug Type: Program Execution Operating system: PHP Version: 4.0.6 Assigned To: Comments: I don't know Winnt at all, but on unices, the user the webserver runs as needs to be able to run the files. Previous Comments: --------------------------------------------------------------------------- [2001-06-25 20:11:32] jxu158@yahoo.com I try to use system() to run a batch file which sitting on a mapped network drive like this : system("e:\tmpfile.bat") but it gives me "Access is denied". I can run this batch file in "Command Prompt" window successfully. When system() works with the files sitting on server machine, no problem at all. I will appreciate if you can help me this. --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11677&edit=2

« previous php.dev (#58016) next »