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."

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



Reply via email to