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

2007-11-28 Thread Olav Mørkrid
what is the thought behind php not providing access to original post
data? this removes any chance of analyzing corrupt upload data, which
is often the case with mobile browsers. can future versions of php
please include a way of viewing raw server requests in full?

On 26/11/2007, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 If you're with linux try netcat (nc) at listening mode.
 
  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.

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



[PHP] how do i get a printout of original multipart post data

2007-11-26 Thread Olav Mørkrid
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.

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



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

2007-11-26 Thread Robert . Degen
If you're with linux try netcat (nc) at listening mode.

Something like (not exactly)

nc -vtlp 80

and then submut against any localhost url.

greetings


- Ursprüngliche Nachricht -
Von: Olav Mørkrid [EMAIL PROTECTED]
Datum: Montag, November 26, 2007 1:52 pm
Betreff: [PHP] how do i get a printout of original multipart post data
An: php-general@lists.php.net

 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.
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 


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