FreePgs.com Forum

FreePgs Related => Support Requests => Topic started by: TimCorless on January 10, 2006, 09:22:17 PM

Title: Uploading Files
Post by: TimCorless on January 10, 2006, 09:22:17 PM
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.
Title: Re: Uploading Files
Post by: brainiac744 on January 10, 2006, 09:55:37 PM
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/