RE: [PHP] Binary data in $_POST, not in $_FILES, why?
- Date: Mon, 16 Jun 2008 17:16:02 -0400
- From: "Jim Feniello" <jfeniello@xxxxxxxxxxx>
- Subject: RE: [PHP] Binary data in $_POST, not in $_FILES, why?
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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php