Re: Trouble getting $HTTP_RAW_POST_DATA
| From: | Mike Migurski | Date: | Fri, 01 Aug 2003 20:48:05 +0000 |
| Subject: | Re: Trouble getting $HTTP_RAW_POST_DATA | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-158003@lists.php.net to get a copy of this message | ||
>$HTTP_RAW_POST_DATA is an array...
>with echo you'll only get "array"..
No, it's a string - just the raw bytes that were posted.
>> Is register globals ON or OFF? Either way, maybe try
>> $_SERVER['HTTP_RAW_POST_DATA']...
Also, ensure that "always_populate_raw_post_data" is on, too - see:
http://www.php.net/manual/en/configuration.directives.php
---------------------------------------------------------------------
michal migurski- contact info and pgp key:
sf/ca http://mike.teczno.com/contact.html