PHP as a Server Side Scripting ?
Posted: Mon Jun 02, 2003 8:34 am
I often use php as a server side scripting language from the command line, the question I have now is how can I pass a parameter via the command line
I tried doing it this way
php.exe myscript.php?input=testxxx
but input is not part of $_REQUEST, like it would be if you called this as part of a webpage. Does anyone have any clue as to how I could pass in
input parameters when executing a script via the command line?
Thanks,
Casey
I tried doing it this way
php.exe myscript.php?input=testxxx
but input is not part of $_REQUEST, like it would be if you called this as part of a webpage. Does anyone have any clue as to how I could pass in
input parameters when executing a script via the command line?
Thanks,
Casey