Bug #15251: Cannot upload one but two files
| From: | yohgaki@php.net | Date: | Mon, 28 Jan 2002 08:42:23 +0000 |
| Subject: | Bug #15251: Cannot upload one but two files | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-78285@lists.php.net to get a copy of this message | ||
From: yohgaki@php.net
Operating system: Linux
PHP version: 4.0CVS-2002-01-28
PHP Bug Type: HTTP related
Bug description: Cannot upload one but two files
Cannot upload one but files... with ZE1. Segfaults with ZE2 :(
(IE6.0 & W2K/ Mozilla 0.9.7+ & Linux)
======= begin =======
<html>
<head>
<title>File Upload Test</title>
<meta http-equiv="Content-Type" content="text/html; charset=EUC-JP">
</head>
<body bgcolor="#FFFFFF">
<pre>
$HTTP_POST_FILES
<?php
// Data about Uploaded Files are stored in array in
$HTTP_POST_FILES["input_name"]
if (isset($HTTP_POST_FILES)) {
print_r($HTTP_POST_FILES);
}
?>
</pre>
<form enctype="multipart/form-data" action="file_upload.php"
method="post">
<input type="text" name"text" value="TEST">
<input type="hidden" name="MAX_FILE_SIZE" value="100000000">
Send this file: <input type="file" name="userfile[]">
Send this file: <input type="file" name="userfile[]">
<input type="submit" value="Send File">
</form>
</body>
</html>
--
Edit bug report at: http://bugs.php.net/?id=15251&edit=1