ID: 9476 Updated by: dbeu Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Program Execution PHP Version: 4.0.4pl1 Assigned To: Comments: fixed in cvs, wait for 4.0.6 please note that dir isn't a real command try something like passthru(getenv("COMSPEC") . " /c dir"); Previous Comments: --------------------------------------------------------------------------- [2001-02-27 06:25:27] [EMAIL PROTECTED] php 4.0.4 AND php 4.0.4pl1 apache 1.3.14 w2k both as cgi and as apache module program execution functions don't work. ("warning.. can't fork... ") when using direct php.exe to run the file (i.e. phpphp dir.php) works fine where dir.php contains: <?php passthru("dir"); ?> regards avi ps it would have been more appropriate to return "file not found" in php 404, and "access forbidden" in php 403 :) --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9476&edit=2 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]