ID:               25563
 Updated by:       [EMAIL PROTECTED]
 Reported By:      t_lace at yahoo dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Filesystem function related
 Operating System: linux
 PHP Version:      4.3.2
 New Comment:

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

The error message is quite clear. Your PHP script cannot write to
/httpdocs/tess.jpg.


Previous Comments:
------------------------------------------------------------------------

[2003-09-16 15:36:28] t_lace at yahoo dot com

Description:
------------
i'm using php triad 2.21 there's no error/warning but when i'm uploaded
in my server (php 4.3.2) there's a warning Warning:
move_uploaded_file(): open_basedir restriction in effect.
File(/httpdocs/tess.jpg) is not within the allowed path(s):
(/home/httpd/vhosts/mku-sby.com/httpdocs:/tmp) 


Reproduce code:
---------------
move_uploaded_file($HTTP_POST_FILES['userfile']['tmp_name'],
"/httpdocs/tess.jpg")

Expected result:
----------------
blank / no warning message

Actual result:
--------------
Warning: move_uploaded_file(): open_basedir restriction in effect.
File(/httpdocs/tess.jpg) is not within the allowed path(s):
(/home/httpd/vhosts/mku-sby.com/httpdocs:/tmp) 


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


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

Reply via email to