Hi all
I am having a little trouble uploading files (html form with post) with
php...
I am trying to copy the file from its temporary upload directory to the
destination directory, however, the server threw this msg at me... what does
it mean? and how do I circumvent it?
$user_file_tmp_ name = /tmp/phpTeA9Hs
$dest_name = /home/free3/user_product_im ages/jamesjiao/Alizee18.jpg
Warning: copy(): open_basedir restriction in effect. File(/tmp/phpTeA9Hs) is
not within the allowed path(s): (/home/free3) in
/home/free3/my-page-admin.php on line 91
I tried both the copy() function and the move_uploaded_f ile() function and
got the same warning.
==james==
I am having a little trouble uploading files (html form with post) with
php...
I am trying to copy the file from its temporary upload directory to the
destination directory, however, the server threw this msg at me... what does
it mean? and how do I circumvent it?
$user_file_tmp_ name = /tmp/phpTeA9Hs
$dest_name = /home/free3/user_product_im ages/jamesjiao/Alizee18.jpg
Warning: copy(): open_basedir restriction in effect. File(/tmp/phpTeA9Hs) is
not within the allowed path(s): (/home/free3) in
/home/free3/my-page-admin.php on line 91
I tried both the copy() function and the move_uploaded_f ile() function and
got the same warning.
==james==
Comment