RE: [PHP] Binary data in $_POST, not in $_FILES, why?
| From: | Jim Feniello | Date: | Mon, 16 Jun 2008 21:16:02 +0000 |
| Subject: | RE: [PHP] Binary data in $_POST, not in $_FILES, why? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-275454@lists.php.net to get a copy of this message | ||
Anyone know if PHP keys off the content-disposition for form pre-processing
to populate the $_FILES array?
In my html form example, the raw data looks like:
Content-Disposition: form-data; name="resp"; filename="tada.wav"
Content-Type: audio/x-wav
But the form posting from the voicexml browser/server looks like:
Content-Disposition: form-data; name="recording"
Content-Type: audio/x-wav
That's the only difference I have found so far, so I was wondering if php
parses form elements that have the filename attribute on the
Content-Disposition item. The bad side of that is that from what I can
tell, Content-Disposition isn't a standard/requirement, just an RFC.
Thanks,
-jim