php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2528 Upload File arrays dont work
Submitted: 1999-10-15 05:47 UTC Modified: 2000-06-10 02:17 UTC
From: nige at biogate dot com Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0 Beta 2 OS: Linux
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: nige at biogate dot com
New email:
PHP Version: OS:

 

 [1999-10-15 05:47 UTC] nige at biogate dot com
<HTML>
<HEAD><TITLE>Upload Test</TITLE></HEAD>
<BODY>
<?
if ( !$action ) {
  echo "<form enctype=multipart/form-data action=".$PHP_SELF."
method=POST>\n";
  echo "<input type=hidden name=MAX_FILE_SIZE value=500000000>\n";
  echo "Send this file: ";
  echo '<input name=userfile[] type=file>' . "\n";
  echo "<input type=hidden name=action value=show_me_the_file>\n";
  echo "<input type=submit value=Send File>\n";
  echo "</form>\n";
} else {
  echo "<h2>Size: $userfile_size[0]</h2>\n";
  echo "<h2>Type: $userfile_type[0]</h2>\n";
  echo "<h2>Name: $userfile_name[0]</h2>\n";
  echo "<h2>File: $userfile[0]</h2>\n";
  phpinfo();
}
?>
</BODY>
</HTML>

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-06-10 02:17 UTC] zeev at cvs dot php dot net
Not much of a bug report;  Anyway, a zillion things have changed since Beta 2.  File upload is known to work fine.  If you still experience a problem with PHP 4.0.0 release, please submit a new bug report, and elaborate on what exactly happens and what seems to go wrong.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 02:01:29 2024 UTC