ID: 18994 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Feedback +Status: No Feedback Bug Type: IIS related Operating System: Windows 2000 SP2 PHP Version: 4.2.2 New Comment:
No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. Previous Comments: ------------------------------------------------------------------------ [2002-09-26 11:18:17] [EMAIL PROTECTED] Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. Try exec("cmd.exe /c dir > c:\\TEMP\\test.txt",$result,$status) (Quote your backslashes!) If that doesn't solve the problem, we need more info like the actual error message and your ini settings etc. etc. ------------------------------------------------------------------------ [2002-08-20 16:37:46] [EMAIL PROTECTED] Running exec("cmd.exe /c dir",$result,$status) gives good output to result array. running exec("cmd.exe /c dir>c:\TEMP\test.txt",$result,$status) fails with access error. User running website has full access to C:\temp. ----------"------------- read access to cmd.exe. Loggin on to machine with same user account and opening an cmd windows & running the full cmd.exe /c etc.etc. works... It looks like an bug, but I might be very wrong. If so, please to hesitate to tell me that... :) /Christian ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=18994&edit=1