open_basedir restriction

A

Anonymous

Guest
I've been trying to upload an image using a form
copy ($picture, $filename);
and receive the warning :
open_basedir restriction .
I've read that this refers to the permission on the image folder being incorrectly set. But the permission has been set to 777. Does anybody have any ideas about what could be the problem.
 
are you using the FULL location to where you want the file put, sounds like your not. needs to be something like

/usr/local/psa/home/vhosts/website.com/httpdocs/file.whatever
 
digging up old posts...hehe

open_basedir ...

check the php variable in php.ini and see if your safemode settings are correct.

pulse 8O
 
Back
Top