"Randy Johnson" <[EMAIL PROTECTED]> wrote:
> how do access arguments if I run a script from the command line
>
> example
> php myscript.php arg1, arg2
They'll be located in the global array $argv[]. Include <?php phpinfo(); ?>
in your script to see how to access them.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]