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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
-------------------------------------------------------------------------------
Joe Stump, PHP Hacker, [EMAIL PROTECTED] -o)
http://www.miester.org http://www.care2.com /\\
"It's not enough to succeed. Everyone else must fail" -- Larry Ellison _\_V
-------------------------------------------------------------------------------
--
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]