Egil Berntsen wrote:

My site need to create some images on-the-fly(with user data) for every user
but I have some problem with the creating of the jpeg-image. I put these
images in my MySQL database for later use. This have to do somthing with
write protection because this is not a problem when I'm working on
localhost. The problem comes on .com.
And get this:
Warning: imagejpeg(): Unable to open 'filename.jpg' for writing in ...


Web server needs write permission to the directory where you want to create the image. You should make a temp directory and not write to the one where your scripts are located.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to