move_uploaded_file() not working?
Posted by: chiisana
Posted on: 2006-01-30 22:27:00
Hey guys,
Just wondering if you are also experiencing this problem. I'm trying to move an uploaded file to a directory within my home directory but its giving me this error regardless of what I do:
Warning: move_uploaded_file(): open_basedir restriction in effect. File(/home/chiisana/data/EDEACF00/9ECBD0C8/clientaccess.txt) is not within the allowed path(s): (/dh/web/phpmyadmin:/tmp:/usr/local/tmp:/dh/solidclient:/usr/local/lib/php:/home/chiisana:/home/.esso/chiisana) in /home/.esso/chiisana/tppas.chiisana.net/newuploads.php on line 45
It's really annoying because I need to accept one or more files from the user upload, but the system will not move it so I cannot keep the files that the user uploaded, at all.
Does any one know of a workable solution to the above problem?
Regds,
Andy Huang