Re: Passing Variables from Script to Script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux