Hi Guys,
How to execute batch file in using php code.
Below mention code is not working. i can't able to execute the batch file
$output = shell_exec('CMD /c C://wamp64//www//Security_Search//start.bat');
echo "<pre>$output</pre>";
Output i'm getting for above code is:
Welcome to batch scripting!
Press any key to continue . . .
--
You received this message because you are subscribed to the Google Groups "PHP
Framework Interoperability Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/php-fig/be2742c6-1481-4bb4-897a-e8d15012c7ad%40googlegroups.com.