not allowed path

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Chrapo
Forum Newbie
Posts: 2
Joined: Wed Jun 21, 2006 9:21 am

not allowed path

Post by Chrapo »

hi i have a little problem I have made one site (with php galery and sql database) few mounths ago Everything worked well but now a tried to add some photos and it writes me

imagecreatefromjpeg(): open_basedir restriction in effect. File(/tmp/phpSLTaIx) is not within the allowed path(s): (/home/web/insanity.sk:/usr/share/php/:/usr/share/horde2/) in /home/web/insanity.sk/www/sprava/fotogalery.php on line 78

pls help me (maybe it s conected with "exceeded global connection limit" but i have no idea what s that)
thx
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

move_uploaded_file() first, then manipulate the image.
Chrapo
Forum Newbie
Posts: 2
Joined: Wed Jun 21, 2006 9:21 am

Post by Chrapo »

thx it works well
Post Reply