I made a PHP script for uploading images and making thumbnails.
It worked just fine on 5.12 but after upgrade files can not be uploaded anymore.
I tried few open-source scripts but none of them work either.
I get sth like that:
Warning: open_basedir restriction in effect. File is in wrong directory in /home/e-smith/files/ibays/paraadmin/html/fileupload-class.php on line 100
Warning: getimagesize: Unable to open '/tmp/phpy61m1e' for reading. in /home/e-smith/files/ibays/paraadmin/html/fileupload-class.php on line 100
Warning: open_basedir restriction in effect. File is in wrong directory in /home/e-smith/files/ibays/paraadmin/html/fileupload-class.php on line 206
Line 100: $image = getimagesize($this->file["tmp_name"]);
Line 206: $aok = copy($this->file["tmp_name"], $this->path . $this->file["name"]);
It gives an error when temp dir is mentioned...
Any ideas?
I chmoded all the dirs that have any connection to that script.
Thank you
