note 27083 deleted from function.imagejpeg by victor
| From: | victor@php.net | Date: | Sat, 23 Nov 2002 12:49:30 +0000 |
| Subject: | note 27083 deleted from function.imagejpeg by victor | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-39892@lists.php.net to get a copy of this message | ||
Does the file exist already?
I'm trying to make a bar fill as a script refreshes and increases a value. If the jpeg I'm
trying to make doesn't exist, I get
Warning: imagejpeg: unable to open 'krap.jpg' for writing
If I touch it like this
[koaps@Server web]$ touch krap.jpg
Still get that message. Trick is to chmod it..
chmod 777 krap.jpg
Now it will make the Image, but when the refresh happends, the image doesn't reload, the value
will keep increasing and the bar will stay the same size, if I hit refresh then it redraws the bar
bigger.