Re: Using PHP from the command line
| From: | Joe Stump | Date: | Thu, 15 Feb 2001 22:07:36 +0000 |
| Subject: | Re: Using PHP from the command line | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-39991@lists.php.net to get a copy of this message | ||
use $argv and $argc just like C/C++ :O)
--Joe
On Thu, Feb 15, 2001 at 03:50:54PM -0600, Diego Fulgueira wrote:
> Hi!! I was wondering if anyone knows how to pass parameters to PHP.EXE when
> invoked from the command line (DOS prompt).
>
> I know this shouldn't differ too much from the Linux version, so anyone who
> has scheduled scripts to run using CRON should have an idea, i guess.
>
> In particular, I don't know how to pass the URL and other parameters needed.
>
> THANKS A LOT!!!
> Cheers, Diego.
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
--
-------------------------------------------------------------------------------
Joe Stump, PHP Hacker, joestump98@yahoo.com -o)
http://www.miester.org http://www.care2.com
/\\
"It's not enough to succeed. Everyone else must fail" -- Larry Ellison _\_V
-------------------------------------------------------------------------------