Hello,

 

I successfully tested the GD library and several scripts with PHP locally on

my windows machine. I went to test the same php-files on my internet server
(Linux).
But on the server I get the following error: 

 

Warning: imagejpeg: unable to open 'temp.jpg' for writing in
/home/httpd/vhosts/tgwedding.com/httpdocs/tgwedding/photos.php on line 29

I already changed the file permissions but it didn't still work.

Does anybody know how to solve the problem?

 

This is line 29:

imagejpeg($base_image, 'temp.jpg'); //convert and save it to temp.jpg

 

Thanks,

Ryan

Reply via email to