#46485 [Bgs]: Problem uploading a file

From: Date: Wed, 05 Nov 2008 16:55:15 +0000
Subject: #46485 [Bgs]: Problem uploading a file
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-130656@lists.php.net to get a copy of this message
 ID:               46485
 User updated by:  nyaka at nyaka dot com
 Reported By:      nyaka at nyaka dot com
 Status:           Bogus
 Bug Type:         Apache2 related
 Operating System: Solaris 10
 PHP Version:      5.2.6
 New Comment:

That's what I see there...
But in any case, how come the same upload perfectly work with PHP 4?


Previous Comments:
------------------------------------------------------------------------

[2008-11-05 16:48:24] lbarnaud@php.net

Thanks. The closing boundary is missing the "--" prefix (the last
boundary must be prefixed *and* suffixed with "--").

------------------------------------------------------------------------

[2008-11-05 14:38:33] nyaka at nyaka dot com

I've sent the dump to your email.

------------------------------------------------------------------------

[2008-11-05 01:57:39] lbarnaud@php.net

Could you please send a TCP dump ?

------------------------------------------------------------------------

[2008-11-05 01:34:06] nyaka at nyaka dot com

I can see the correct boundary at the end of the packet in the TCP
dump.

------------------------------------------------------------------------

[2008-11-04 22:49:56] lbarnaud@php.net

The error code is set when the POST handler did not found the final
boundary in the client's input. This may happen when the boundary is
effectively missing, or e.g. when the Content-Length is incorrect.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/46485

-- 
Edit this bug report at http://bugs.php.net/?id=46485&edit=1



Thread (12 messages)

« previous php.bugs (#130656) next »