Bug #10855 Updated: File Upload using dll - more info
| From: | sniper@php.net | Date: | Tue, 15 May 2001 00:18:29 +0000 |
| Subject: | Bug #10855 Updated: File Upload using dll - more info | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-55267@lists.php.net to get a copy of this message | ||
ID: 10855
Updated by: sniper
Reported By: martin@center.cc
Old-Status: Open
Status: Bogus
Bug Type: HTTP related
Operating system:
PHP Version: 4.0.5
Assigned To:
Comments:
This is not a bug. You have to tell windows that it
should open the file as binary. Read the manual page
for fopen() again.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2001-05-14 13:12:00] martin@center.cc
ignore the & part - it returns only a part of the image which differs in length when using
different images but is never complete.
---------------------------------------------------------------------------
[2001-05-14 12:35:25] martin@center.cc
To ID#8210
This problem seems not only win2k related.
I am having the same problem on win98 uploading jpg images,
CGI works dll doesn't.
(Apache 1.3.19)
Maybe it will help to add that the fileupload only returns the characters
until the first & - then it stops so I'm assuming that the problem could be
in there.
Here is how the image file starts:
ÿØÿà&')*)-0-(0%()(ÿ
what I get after the upload is just
ÿØÿà
Martin
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10855&edit=2