Re: Passing Variables from Script to Script
| From: | Richard Lynch | Date: | Sun, 09 Apr 2006 04:00:11 +0000 |
| Subject: | Re: Passing Variables from Script to Script | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-233605@lists.php.net to get a copy of this message | ||
PHP has those variables in $argv
$argc tells you how many args there were.
$argv[0] is the actual script name, eg, myscript.php
On Sat, April 8, 2006 2:58 pm, Alan Schneider wrote:
> What is the best way to pass a variable value from one script to
> another?
>
> In unix or dos all I would need to do would be to add them just after
> the
> name of the script
>
> such as myscript.bat aaaa bbbb
>
> thanks
>
> Alan
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Like Music?
http://l-i-e.com/artists.htm