Re: Command Line

From: Date: Mon, 30 Apr 2001 16:11:39 +0000
Subject: Re: Command Line
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-50873@lists.php.net to get a copy of this message
"Randy Johnson" <programmer@jennybug.com> 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/

« previous php.general (#50873) next »