I've had a week of php not populating the $_POST.. it's only an empty
array() though i know the post is there.
Wireshark shows me the full request.. including the post..

After some weeks of frustration, mostly trying to work out what
$HTTP_RAW_POST_DATA did, how to get it.. (yes, i had
always_populate_raw_post_data on).
http://nz2.php.net/manual/en/reserved.variables.httprawpostdata.php

I eventually ranted to enough people, i found TimG had discovered php://input.

 $postdata = file_get_contents('php://input');

and now finally i have the post data ... woot!!!

now, is it too early in the day for whisky?

--~--~---------~--~----~------------~-------~--~----~
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[EMAIL PROTECTED]
-~----------~----~----~----~------~----~------~--~---

Reply via email to