Re: Using $_SERVER
| From: | Burhan Khalid | Date: | Sun, 16 Nov 2003 22:46:11 +0000 |
| Subject: | Re: Using $_SERVER | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-169858@lists.php.net to get a copy of this message | ||
Gerard Samuel wrote:
Whats your take on adding your own data in the $_SERVER array? For example, if I wanted to add a value to the $_SERVER array like -> $_SERVER['foo'] = 'bar'; Yes its possible, but Im looking for "legality" issues with this frame of thought.There are no "laws" against doing that...however $GLOBALS would be a better place to stick custom variables. -- Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com ----------------------- "Documentation is like sex: when it is good, it is very, very good; and when it is bad, it is better than nothing."