dont working function exec();
Posted by: rinasmichael (91.190.232.---)
Date: April 23, 2012 08:05AM

<?PHP $dir = 'explorer.exe c:\\'; exec($dir);?>

there is a system process explorer,but it will not appear on the screen
then im wait 30 sec,and displays an error:
"Fatal error: Maximum execution time of 30 seconds exceeded in D:\wamp\www\work\open.php on line 10 Call Stack #TimeMemoryFunctionLocation 10.0002670072{main}( )..\open.php:0"

Options: ReplyQuote
Re: dont working function exec();
Posted by: RiggsFolly (---.as13285.net)
Date: April 25, 2012 11:39AM

Try using the output and return val params for exec, as described in the manual.
That should help with debugging.

Options: ReplyQuote


Sorry, only registered users may post in this forum.