News:

Click here for Toll-Free Service for your business starting at $2.00 per month

Main Menu

Uploading Files

Started by TimCorless, January 10, 2006, 09:22:17 PM

Previous topic - Next topic

TimCorless

Hi all,

I would like to add a facility to my website where user can upload files to my site, they are then added to a database, this database will contain a boolean value of whether they are approved or not, which will be administered by myself.

I have an upload file, all the database is ready, but I get this error when I use my upload page:

Warning: move_uploaded_file() [function.move-uploaded-file]: open_basedir restriction in effect. File(/uploadedphotos/photouploads.php) is not within the allowed path(s): (/tmp/:/fpgs/fpgshttpd/rickandsi/:/fpgs/fpgslogs/607/:/usr/share/pear/) in /fpgs/fpgshttpd/rickandsi/rick/photouploads.php on line 10

Now I'm assuming there is some freepgs restriction on uploads to the server? Is there anyway I could work with this, but still let users uploads their photos?

Thanks,
Tim.

brainiac744

You're probably using an incorrect path somewhere in the script. Try using absolute paths instead, the absolute path to your account appears to be: /fpgs/fpgshttpd/rickandsi/