RE: [PHP] Parameter passing
| From: | o dot cook at etoncollege dot org dot uk | Date: | Thu, 28 Dec 2000 17:30:43 +0000 |
| Subject: | RE: [PHP] Parameter passing | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-32102@lists.php.net to get a copy of this message | ||
There's an array called $argv
Might be of some use.
Ollie
> -----Original Message-----
> From: EaTrom [mailto:eatrom@i29.net]
> Sent: 28 December 2000 17:39
> To: php-general@lists.php.net
> Subject: [PHP] Parameter passing
>
>
> I've a quick question, since it appears to be "no such thing"
> but wanted to
> see if maybe I just missed it somewhere.
>
> In Perl, you can get the passed parameters in $_ ; is there
> such a thing in
> PHP?
>
> The reason I ask, is that I have a long series of vars coming
> in from a
> calling file, and I want to just use list($k,$v)=each($_) to
> walk through
> them.
>
> Terry
>
>
> --
> 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
>