Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
October 26, 2005, 12:46 pm
rate this thread
finish loading ( Waiting... Opening... :-( )
<?php echo system("dir"); ?>
The same for <?php echo exec("dir"); ?> or <?php echo
shell_exec("dir"); ?>, etc...
I'm running Apache 2.0.55 & PHP 5.0.5 with Zend Optimizer v2.5.10 on
windows XP SP2. Any help is welcome,
PS: I have also tried the windExec() user function sugested in
Re: exec, shell_exec, system, and passthru not working at all
Find the cmd.exe file in your C:\Windows\System32.exe folder.
Right click on the file and select "Sharing and Security" or select
"Properties" and click on the "Security" tab.
Make sure the IUSR and IWAM accounts have "Read & Execute" access. If
not you will have add them.