Edit report at https://bugs.php.net/bug.php?id=55498&edit=1

 ID:                 55498
 Updated by:         [email protected]
 Reported by:        time2t at naver dot com
 Summary:            filename bug
 Status:             Open
 Type:               Bug
 Package:            Built-in web server
 Operating System:   windows
-PHP Version:        5.3.8
+PHP Version:        5.4.0alpha3
 Block user comment: N
 Private report:     N

 New Comment:

I don't think 5.3.8 has webserver built-in, should be 5.4.0
and this is dup to #55484(since this report is more clearly, I will mark 55484 
as dup).

at last I can't reproduce this in Linux with php-5.4.0-trunk, can you try with 
the snapshot

For Windows:

  http://windows.php.net/snapshots/


Previous Comments:
------------------------------------------------------------------------
[2011-08-24 08:09:19] time2t at naver dot com

Description:
------------
<html>
<head>
</head>
<body>
<form name=fboardform method=post action="?" 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=submit class=btn1 accesskey='s' value='  submit  '>
</form>

<?
print_r($_FILES);
?>
</body>
</html>

-----------------------------
POST file name test.msi
-----------------------------
Array
(
    [bo_image_head] => Array
        (
            [name] => est.msi
            [type] => application/octet-stream
            [tmp_name] => D:\server\tmp\php711.tmp
            [error] => 0
            [size] => 664576
        )

)


-----------------------------

[name] => est.msi <-- test.msi bug

original file name test.msi ??

Test script:
---------------
-----------------------------
POST file name test.msi
-----------------------------
Array
(
    [bo_image_head] => Array
        (
            [name] => est.msi
            [type] => application/octet-stream
            [tmp_name] => D:\server\tmp\php711.tmp
            [error] => 0
            [size] => 664576
        )

)


-----------------------------

[name] => est.msi <-- test.msi bug

original file name test.msi ??



------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=55498&edit=1

Reply via email to