Page 1 of 1

not allowed path

Posted: Wed Jun 21, 2006 9:57 am
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

Posted: Wed Jun 21, 2006 10:13 am
by feyd
move_uploaded_file() first, then manipulate the image.

Posted: Wed Jun 21, 2006 3:27 pm
by Chrapo
thx it works well