Re: HTTP_POST_RAW_DATA problem
| From: | Raditha Dissanayake | Date: | Thu, 16 Oct 2003 14:26:50 +0000 |
| Subject: | Re: HTTP_POST_RAW_DATA problem | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-166300@lists.php.net to get a copy of this message | ||
Hi,
You will most probably need to send a content type other than mulitpart/form-data for it to work. When you do you will find that the variables may not be populated.
Manuel Vázquez Acosta wrote:
Oh! Thanks, I'm using cURL to send the post, I will check if I send a content-type header. Manu. "Raditha Dissanayake" <jabber@raditha.com> wrote in message news:3F8DEFC4.6060709@raditha.com...-- Raditha Dissanayake. ------------------------------------------------------------------------ http://www.radinks.com/sftp/ | http://www.raditha/megaupload/ Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader Graphical User Inteface. Just 150 KB | with progress bar.Hi, RAW_POST_DATA does not get populated for known content types. That's why i got a little help from perl when building the megaupload progress bar. Manuel Vázquez Acosta wrote:alwaysHello: I'm running into a problem when trying to get $HTTP_POST_RAW_DATA; itreturns NULL althought my php.ini always_populate_raw_post_data is set to On. My env: Windows XP-Pro; Apache 1.3.24/PHP module 4.3.3 Any ideas? Manu.-- Raditha Dissanayake. ------------------------------------------------------------------------http://www.radinks.com/sftp/ | http://www.raditha/megaupload/Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader Graphical User Inteface. Just 150 KB | with progress bar.