php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #55484 file upload bug..
Submitted: 2011-08-23 05:16 UTC Modified: 2011-08-24 10:00 UTC
From: time2t at naver dot com Assigned:
Status: Duplicate Package: Built-in web server
PHP Version: 5.3.7 OS: windows
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: time2t at naver dot com
New email:
PHP Version: OS:

 

 [2011-08-23 05:16 UTC] 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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-08-24 10:00 UTC] laruence@php.net
-Status: Open +Status: Duplicate
 [2011-08-24 10:00 UTC] laruence@php.net
dup to #55498
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 22:01:28 2024 UTC