[PHP] Binary data in $_POST, not in $_FILES, why?
- Date: Mon, 16 Jun 2008 11:14:06 -0400
- From: "Jim Feniello" <jfeniello@xxxxxxxxxxxxxx>
- Subject: [PHP] Binary data in $_POST, not in $_FILES, why?
Hi,
I'm working on an app with a external provider (voicexml), which at the end
of the day is posting an html form with normal and file data.
I've got 3 test cases, one is an html form with fields and a file, the other
test case is another voicexml provider, and the third is my provider, which
is where my problem resides.
All three have [Content-Type] => multipart/form-data; in the header. The
html form and provider X shows the request data correctly, some in _request
and one in _files, but my provider ends up with an empty _files array, and i
finally dumped the _request array, and it was in there as an item with a
bunch of binary data.
What would cause php to not put it in _files? The obvious is the
multipart/form-data but i've confirmed that. Anything else i can look into?
thanks,
-jim