Bug #55484 [Opn->Dup]: file upload bug..
| From: | laruence@php.net | Date: | Wed, 24 Aug 2011 10:00:19 +0000 |
| Subject: | Bug #55484 [Opn->Dup]: file upload bug.. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-162900@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=55484&edit=1
ID: 55484
Updated by: laruence@php.net
Reported by: time2t at naver dot com
Summary: file upload bug..
-Status: Open
+Status: Duplicate
Type: Bug
Package: Built-in web server
Operating System: windows
PHP Version: 5.3.7
Block user comment: N
Private report: N
New Comment:
dup to #55498
Previous Comments:
------------------------------------------------------------------------
[2011-08-23 05:16:52] time2t at naver dot com
Description:
------------
--------------- POST -------------
Array
(
[bo_image_head] => Array
(
[name] => Y
[type] =>
[tmp_name] =>
[error] => 4
[size] => 0
)
[bo_image_tail] => Array
(
[name] =>
[type] =>
[tmp_name] =>
[error] => 4
[size] => 0
)
)
--------------------------------
[name] => Y <-- bug
Test script:
---------------
<html>
<head>
</head>
<body>
<form name=fboardform method=post action="?" onsubmit="return
fboardform_submit(this)" enctype="multipart/form-data">
<input type=text class=ed name=bo_subject size=60 maxlength=120 value=''>
<br />
<select name='gr_id'>
<option value='asas'>asas</option>
</select><br />
<input type=file name="bo_image_head" class=ed size=60><br />
<input type=file name=bo_image_tail class=ed size=60><br />
<input type=submit class=btn1 accesskey='s' value=' submit '>
</form>
<?
print_r($_FILES);
?>
</body>
</html>
--------------- POST -------------
Array
(
[bo_image_head] => Array
(
[name] => Y
[type] =>
[tmp_name] =>
[error] => 4
[size] => 0
)
[bo_image_tail] => Array
(
[name] =>
[type] =>
[tmp_name] =>
[error] => 4
[size] => 0
)
)
--------------------------------
[name] => Y <-- bug
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=55484&edit=1