Re: phpinfo() and HTTP_RAW_POST_DATA
| From: | Kristopher Yates | Date: | Thu, 02 Jan 2003 19:37:38 +0000 |
| Subject: | Re: phpinfo() and HTTP_RAW_POST_DATA | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-129979@lists.php.net to get a copy of this message | ||
Hi Chris,
I made your suggested change to php.ini and I show local value 1 and master value 1. Does it mean raw data populates the variable $HTTP_RAW_POST_DATA when this is == 1 or does it mean that raw data is visible within phpinfo() when value ==1 in php.ini file? Just curious because, though the val is now 1 in my php.ini (and I restarted apache), I dont see any data in phpinfo() output related to this var. Did I miss something?
Thanks
Kris
Chris Shiflett wrote:
That data is only populated when always_populate_raw_post_data is on (check your php.ini). Chris --- Kristopher Yates <kris@2binteractive.com> wrote:I was just curious, is there a reason $HTTP_RAW_POST_DATA isn't included in the phpinfo() function? I would imagine one could see all globals via phpinfo().. Is $HTTP_RAW_POST_DATA global or is it only global if globals are registered (php.ini setting)? From what I can tell, this var is not global, regardless of the registered_globals setting in php.ini..