php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11523 File uploads via HTTP POST don't work with Opera browsers
Submitted: 2001-06-17 15:15 UTC Modified: 2001-06-18 09:10 UTC
From: a dot genkin at utoronto dot ca Assigned:
Status: Closed Package: HTTP related
PHP Version: 4.0.5 OS: Solaris 8, Sparc
Private report: No CVE-ID: None
 [2001-06-17 15:15 UTC] a dot genkin at utoronto dot 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-18 08:38 UTC] 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-18 09:10 UTC] a dot genkin at utoronto dot ca
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.
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Tue Oct 22 13:01:29 2019 UTC