Weird problem,

What was the enctype on the form that you were submitting?

- Mike

Brenda Wallace wrote:
> 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?
>
> >
>    


-- 
Mike Cochrane
Web Team Leader

gardyneHOLT - design partners
18 Beresford Square Newton
PO Box 3340 Auckland New Zealand
p +64 9 300 3155  f +64 9 302 3349  m 021 545 565
skype gardyneholt_mikec
www.gardyneholt.co.nz


--~--~---------~--~----~------------~-------~--~----~
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