Re: how do i get a printout of original multipart post data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



""Olav Mørkrid"" <olav.morkrid@xxxxxxxxx> wrote in message news:5a52f3270711260443y54cc6ef2oefdd0b21ba5b4f01@xxxxxxxxxxxxxxxxx
hello


how can i get a raw and untouched printout of a multipart/form-data
POST? i need this to analyze what certain user agents do wrong when
uploading files.

what happens is that php just fails to put files into $_FILES, and
gives no way of seeing the original posting and exactly what is wrong
with it.

according to the manual, neither "always_populate_raw_post_data" nor
<php://input> work for multipart/form-data.

Go get Ethereal http://www.ethereal.com/ start the program, set which network card you want to use (you probably only have one), start capture. You'll now see all the packets going down the wire. Go ahead and do the post and you'll be able to see the post data.

- Dan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux