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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 08 22:01:31 2025 UTC