I'd check the file permissions on cmd.exe or command.com. I think this is likely to be the problem. 2k3 security has been tightened a lot.
Regards, Paul Smith Microtech Limited, http://www.microtech.co.gg Suppliers of innovative IT solutions including DNS, Mailscan and backup email services. -----Original Message----- From: s [mailto:[EMAIL PROTECTED] Sent: 09 December 2003 15:15 To: [EMAIL PROTECTED] Subject: [PHP-WIN] I cant run shell command on win2003 with iis6 My phpscript with external command ran OK on Win2K server with IIS5 but when I moved them to Win2K3 and IIS6 none shell command could not be executed. exec("dir f:", $out); $out1=`dir f:\imail\users /b`; echo "x<pre>".$out.$out1."</pre>y" ; Have anyboby same ideas? -- Simos Anagnostakis Dept. of Primary Education University of Crete Campus Rethymno 74100 tel +302831077623 fax 77596 -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php