Multiple Image Upload :: Copy(): Open_basedir Restriction In EffectAug 14, 2006
im trying to make multiple image upload script, but i got in problem, when i need to copy file to server. when i do: PHP Code:
copy ($_FILES['file']['tmp_name'][$key], $_FILES['file']['name'][$key]);
[error] PHP Warning: copy(): open_basedir restriction in effect.
File(/tmp/phpNfGgR2) is not within the allowed path(s):
(/www/abbc.xxx.com) in /www/abbc.xxx.com/htdocs/demo/uploadscript/index.php on line 48
how to solve this problem? maybe you got some example?