|  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
 [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



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-30 08:55 UTC]
In PHP 4.2.0, the 'register_globals' setting default changed to
be off. See 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]
ok, reopening due to additional information given
 [2002-07-30 12:22 UTC]
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at In case this was a documentation 
problem, the fix will show up soon at
In case this was a website problem, the change will show
up on the site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Jul 17 11:01:28 2024 UTC