#28708 [Opn->Bgs]: move_uploaded_file to no Permission dir make php crash
| From: | iliaa@php.net | Date: | Wed, 09 Jun 2004 14:14:06 +0000 |
| Subject: | #28708 [Opn->Bgs]: move_uploaded_file to no Permission dir make php crash | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-60641@lists.php.net to get a copy of this message | ||
ID: 28708
Updated by: iliaa@php.net
Reported By: xuefer at 21cn dot com
-Status: Open
+Status: Bogus
Bug Type: Filesystem function related
Operating System: linux
PHP Version: 4.3.7
New Comment:
Cannot replicate the bug, I get the same error messages,
however the error correctly displays the filenames
involved. The error seems to be caused by an unrelated
memory corruption.
Previous Comments:
------------------------------------------------------------------------
[2004-06-09 09:21:41] xuefer at 21cn dot com
Description:
------------
move_uploaded_file to NO Permission dir get make crash
in shell: chmod 000 /path/to
in php: move_uploaded_file($_FILES['userfile']['tmp_name'],
'/path/to/file.jpg');
crash or show 2 error:
move_uploaded_file(/path/to/file.jpg): failed to open stream:
Permission denied
move_uploaded_file(): Unable to move 'pbZ@ËZ
' to '@ËZV,'
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=28708&edit=1