bauhsoj
07-21-2006, 09:20 PM
I read somewhere a while back that arguments can be sent to a PHP 5 script through a cronjob via $_REQUEST in some format. I know that I could send them through 'argv' but what if the server configuration does not have "register_argc_argv" set? How would I setup the arguments on the command line to send them in with a key/value pairing that shows up in $_REQUEST?
For instance, what would be the command line equivalent of the following?/some_script.php?do_something=yes&something_else=no
For instance, what would be the command line equivalent of the following?/some_script.php?do_something=yes&something_else=no