linuxnooby — 2012-03-06T19:24:46-05:00 — #1
I am trying to pass command line parameters to a php script on the windows platform.
php.exe myscript.php test
this works passing the parameter "test", however
php-win.exe myscript.php test
this fails, I seem unable to pass the test parameter to php-win.exe. I am using $_SERVER['argv'] to detect arguments
has anybody done this with php-win.exe??
logic_earth — 2012-03-07T00:05:41-05:00 — #2
I never figured out what php-win.exe does different thus I never used it.
Is there a particular reason you need to use php-win.exe?
linuxnooby — 2012-03-07T21:20:46-05:00 — #3
php-win.exe allows you to run a script without a console window. In this case a php-gtk2 GUI script.