Command line parameters

Hi

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??

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?

php-win.exe allows you to run a script without a console window. In this case a php-gtk2 GUI script.