note 95971 added to language.variables.superglobals
| From: | Brian dot Chandler dot Programmer at gmail dot com | Date: | Mon, 01 Feb 2010 07:24:09 +0000 |
| Subject: | note 95971 added to language.variables.superglobals | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-165543@lists.php.net to get a copy of this message | ||
Sorry, forgot an odd bug on my post. Apparently $_SERVER doesn't show and such. I read that
"register_long_arrays" set to "On" in the php.ini fixes this, but the below
worked for me to get them to show up if something was there.
<?php
/*
* Added these to register them since they were NULL if not
* being used. register_long_arrays=On in php.ini can resolve,
* but was mentioned as performance hit.
*/
$_SERVER; // Now shows...
$_REQUEST; // Now shows...
$_ENV; // Showed array()...
?>
----
Server IP: 69.147.83.197
Probable Submitter: 71.76.253.27
----
Manual Page -- http://www.php.net/manual/en/language.variables.superglobals.php
Edit -- https://master.php.net/note/edit/95971
Del: integrated -- https://master.php.net/note/delete/95971/integrated
Del: useless -- https://master.php.net/note/delete/95971/useless
Del: bad code -- https://master.php.net/note/delete/95971/bad+code
Del: spam -- https://master.php.net/note/delete/95971/spam
Del: non-english -- https://master.php.net/note/delete/95971/non-english
Del: in docs -- https://master.php.net/note/delete/95971/in+docs
Del: other reasons-- https://master.php.net/note/delete/95971
Reject -- https://master.php.net/note/reject/95971
Search -- https://master.php.net/manage/user-notes.php