Package: libapache2-mod-php5 
Version: 5.2.0-8+etch13

move_uploaded_file() prints warning about  open_basedir restriction. It prints 
only the warning, uploaded file is successfully  moved. according to 
documentation open_basedir check is applied only for destination not the 
source file..

output of example code from: 
http://cz.php.net/manual/en/features.file-upload.post-method.php

Warning: move_uploaded_file() [function.move-uploaded-file]: open_basedir 
restriction in effect. File(/var/tmp/php/phpr9Tg2e) is not within the allowed 
path(s): (/home/www) in /home/www/u.php on line 11
File is valid, and was successfully uploaded.

both safe_mode and open_basedir are set.  upload_tmp_dir is outside 
open_basedir




-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to