open_basedir restriction

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
ceetee
New php-forum User
New php-forum User
Posts: 8
Joined: Thu Jan 02, 2003 2:28 pm

Wed Mar 26, 2003 12:55 pm

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.

TheIceman5
New php-forum User
New php-forum User
Posts: 28
Joined: Tue Jan 21, 2003 9:31 pm
Contact:

Sat Mar 29, 2003 5:06 pm

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
[flash width=300 height=100 loop=true]http://newbieslair.baselair.com/iceman.swf[/flash]

Administrator Newbieslair http://www.newbieslair.com

User avatar
Pulse
New php-forum User
New php-forum User
Posts: 52
Joined: Sat Jan 03, 2004 8:32 am
Location: South Africa, Gauteng, JHB

Wed Oct 13, 2004 11:52 am

digging up old posts...hehe

open_basedir ...

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

pulse 8O

Post Reply