ID: 10855 Updated by: sniper Reported By: [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]