#34146 [Opn->Fbk]: it always occuered to upload file which name has space.

From: Date: Tue, 16 Aug 2005 08:13:04 +0000
Subject: #34146 [Opn->Fbk]: it always occuered to upload file which name has space.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-83631@lists.php.net to get a copy of this message
ID: 34146 Updated by: tony2001@php.net Reported By: cm2 at romaji dot net -Status: Open +Status: Feedback Bug Type: Scripting Engine problem Operating System: Linux support 2.4.27-2-386 PHP Version: 4.4.0 New Comment: Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. What "system error" are you talking about? Previous Comments: ------------------------------------------------------------------------ [2005-08-16 09:57:08] cm2 at romaji dot net Description: ------------ When I upload any file which name has space( example. "test test.txt"),it occured system error. it happened before executing php script,so I couldn't do noghing... And I think it is a PHP 4.4.0's unique bug. it never occured at PHP 4.3.6. The uploaded file is small one ,and has no paticular point except having a name with space. Reproduce code: --------------- <?php if($_POST["sub_btn"]){ print "send file"; exit(); } ?> <!-- HTML --> <form enctype="multipart/form-data" method="post" action="qa.php"> <INPUT type="file" size="50" name="image_file1"> <INPUT name="sub_btn" type="submit" value="send file"> </form> Expected result: ---------------- send file /* you must choose the file which name has space(ex. "t e.txt" After you had submited, it occured system error. */ Actual result: -------------- system error ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=34146&edit=1

« previous php.bugs (#83631) next »