Re: superglobals?
| From: | Catalin Trifu | Date: | Sat, 30 Aug 2003 15:49:58 +0000 |
| Subject: | Re: superglobals? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-161250@lists.php.net to get a copy of this message | ||
Stevie D Peele wrote:
What do we call things like this -- $_POST['name'], $_SERVER['remote add'] Are they superglobals and where can I find a list of these? Thanks ________________________________________________________________ The best thing to hit the internet in years - Juno SpeedBand! Surf the web up to FIVE TIMES FASTER! Only $14.95/ month - visit www.juno.com to sign up today!
Hi,Superglobals are those variables defined by PHP, like $_SERVER, $_REQUEST, etc. (http://de3.php.net/manual/en/language.variables.predefined.php) User defined superglobals do not exist (yet at least) In the exmple above the variables are $_SERVER and $_POST the others are just members of the respective arrays. Cheers, Catalin