Bug #11523 Updated: File uploads via HTTP POST don't work with Opera browsers

From: Date: Mon, 18 Jun 2001 13:10:51 +0000
Subject: Bug #11523 Updated: File uploads via HTTP POST don't work with Opera browsers
Groups: php.dev 
Request: Send a blank email to php-dev+get-56847@lists.php.net to get a copy of this message
ID: 11523 User Update by: a.genkin@utoronto.ca Status: Closed Bug Type: HTTP related Operating system: Solaris 8, Sparc PHP Version: 4.0.5 Description: File uploads via HTTP POST don't work with Opera browsers Here's what I received from the Opera folks. They admit the bug, but claim that PHP also doesn't implement the RFC 100%. ----------8<---------------- From: bug-43399-s262@bugs.opera.no Subject: Your Opera Bug report To: a.genkin@utoronto.ca Thank you for reporting this bug, and for taking the trouble to develop a test page. The bug was known and is fixed in the next release of Opera (5.12) Versions 5.02 and earlier of Opera also function correctly. What happened was that it was noticed that Opera did not comply with the RFC governing multipart mime attachments for forms (where headers should be able to be split across lines). Opera was brought into compliance for version 5.1, but it was then discovered that several major procesing languages (php, coldfusion and miva) do not comply with the RFC either. Previous Comments: --------------------------------------------------------------------------- [2001-06-18 08:38:36] sniper@php.net After I tested this also with non-php CGI script, I'm totally sure that this is NOT php bug but a bad bug in Opera for Linux. I tried also with the Opera/Win32 5.11 and it works just fine. I submitted a bug report to Opera but feel free to do so too. --Jani --------------------------------------------------------------------------- [2001-06-17 15:15:21] a.genkin@utoronto.ca I am developing a web-based system for university students to submit assignments over the web. This involves uploading files via HTTP POST method, with a PHP script on the receiving end. The page I designed works with Netscape Navigator, Mozilla, and Internet Explorer, but not with Opera 5 for Linux or Windows: PHP obviously gets confused by the data that Opera sends. I've set up a test page to demonstrate the behaviour at http://www.thpoon.com/~antipode/test/upload.php with the source code at http://www.thpoon.com/~antipode/test/upload.phps Thanks, -- Arcady Genkin --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=11523

« previous php.dev (#56847) next »