> I have to run php script from Linux shell.
>
> I have no trouble except with passing the parameters.
> What is the right sintax to pass them to the script?
>
> I would like to do something like this:
> /usr/local/bin/php ./test.php param=value
What you want is $argc and $argv as described in t
$argv and $argc are prob. what you're after - dunno if there's any parameter
parsing functions - but it's a start
HTH
Martin
-Original Message-
From: Bostjan Marusic [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 18, 2002 10:00 AM
To: [EMAIL PROTECTED]
Subject: [PHP] R
I have to run php script from Linux shell.
I have no trouble except with passing the parameters.
What is the right sintax to pass them to the script?
I would like to do something like this:
/usr/local/bin/php ./test.php param=value
Best Regards,
Bostjan Marusic
--
PHP General Mailing Lis
3 matches
Mail list logo