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

From: Date: Fri, 30 Nov 2007 23:36:56 +0000
Subject: Re: how do i get a printout of original multipart post data
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-265327@lists.php.net to get a copy of this message
""Olav Mørkrid"" <olav.morkrid@gmail.com> wrote in message news:5a52f3270711260443y54cc6ef2oefdd0b21ba5b4f01@mail.gmail.com...
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

« previous php.general (#265327) next »