From a web page I need to call a .bat file and have that execute a php script. I need to pass a parameter from php to other php file.
So it looks like my first php script would be something like this:
system("cmd /c C:test.bat");
My bat file would be something like this:
@echo OFF
"C:\Program Files (x86)\PHP\v5.4\php-cgi.exe" C:\test.php%*
But how can I pass a parameter, like I would call "file.php?event=3"?