php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18641 problem with enctype=multipart/form-data
Submitted: 2002-07-30 08:38 UTC Modified: 2002-07-30 12:22 UTC
From: martinkuria at hotmail dot com Assigned:
Status: Closed Package: *Programming Data Structures
PHP Version: 4.2.2 OS: Redhat Linux 7.3
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: martinkuria at hotmail dot com
New email:
PHP Version: OS:

 

 [2002-07-30 08:38 UTC] martinkuria at hotmail dot com
I have a problem I have been using this format :

<form method=post action="prodadd.php" ENCTYPE="multipart/form-data">

to upload my images, and data, but since I upgrade my redhat linux from 7.0 to 7.3, there is no data which is parsed, example $username = is empty Enctype="multipart/form-data" seems to block everything is there a bug with enctype, and is there any other attribute I can use other than enctype please do advice thanks again

Martin

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-30 08:55 UTC] hholzgra@php.net
In PHP 4.2.0, the 'register_globals' setting default changed to
be off. See http://www.php.net/release_4_2_0.php for more info.
We are sorry about the inconvenience, but this change was a necessary
part of our efforts to make PHP scripting more secure and portable.
 [2002-07-30 11:05 UTC] temp at aruba dot it
I have the same problem, I'm using redhat 7.3 with php-4.1.2-7 (not php 4.2). Anyway I also added 
register_globals = On 
in php.ini. Even $_POST variables are empty while if I remove enctype="multipart/form-data" from the form parameters variables are ok.
 [2002-07-30 11:59 UTC] hholzgra@php.net
ok, reopening due to additional information given
 [2002-07-30 12:22 UTC] rasmus@php.net
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/. In case this was a documentation 
problem, the fix will show up soon at http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sat Mar 28 22:01:23 2020 UTC