Re: Passing many valaues to function
| From: | Galkov Vladimir | Date: | Sat, 03 Nov 2001 10:13:44 +0000 |
| Subject: | Re: Passing many valaues to function | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-73333@lists.php.net to get a copy of this message | ||
Good day!
1. Send array function_1($arr) where $arr: array.
2. This way is not very correct. just declare this varibles in function as
global.
2.1. The enother way: get access to special array (in php3 only upper
three are avible):
$HTTP_GET_VARS
$HTTP_POST_VARS
$HTTP_COOKIE_VARS
$HTTP_ENV_VARS
$HTTP_SESSION_VARS
$HTTP_SERVER_VARS
This arrays store different types of varbles used during script's work. I
never use this method to access to vars... so can't give 100% correct
advice. just a way... read about using this arrays.
Galkov Vladimir