Steve wrote:
I am using GD image function with PHP (PHP 4.3.9 on RedHat 9). Today I
found that for all images I have created so far (using the ImageGIF()
function), there is a temporary file in /tmp with that image. The name
of the temp file is a 6 character combination of letters and digits,
Jay Blanchard wrote:
[snip]
But the problem is still there (CGI and CLI sapi tested). I used the
-n option, so php.ini can't cause the problem, either.
Has anyone else experienced that?
[/snip]
Yes. You will have to write your own clean-up code for things like this.
I don't mean any user
http://www.php.net/manual/en/function.imagegif.php -
*Note: * Since all GIF support was removed from the GD library in
version 1.6, this function is not available if you are using that
version of the GD library.
http://www.php.net/manual/en/function.imagecreatefromgif.php -
*Note: * GIF
[snip]
Yes. You will have to write your own clean-up code for things like
this.
I don't mean any user generated temporary files, I mean files which are
created by the PHP function ImageGIF(). How should I even know which
temporary file name GD chose in each case, or whether it created a temp
* Martin Holm [EMAIL PROTECTED]:
Steve wrote:
I am using GD image function with PHP (PHP 4.3.9 on RedHat 9). Today I
found that for all images I have created so far (using the ImageGIF()
function), there is a temporary file in /tmp with that image. The name
of the temp file is a 6
To view the terms under which this email is distributed, please go to
http://disclaimer.leedsmet.ac.uk/email.htm
On 13 December 2004 16:14, Steve wrote:
Seems like this is something that either the GD lib or PHP should
be doing and not the user. Shouldn't this be reported as a bug?
Seems like this is something that either the GD lib or PHP should be doing and
not the user. Shouldn't this be reported as a bug?
Yes, I also consider this a bug, unless it's something specific to my
system. To find out, I posted this here.
Is nobody else out there using ImageGIF() with PHP
[snip]
Before the image is created you can get an array of things in the temp
file, then check for a new thing after the image is created. You can
verify the file type and if all is kosher, delete it.
Seems like this is something that either the GD lib or PHP should be
doing and
not the user.
[snip]
But the problem is still there (CGI and CLI sapi tested). I used the
-n option, so php.ini can't cause the problem, either.
Has anyone else experienced that?
[/snip]
Yes. You will have to write your own clean-up code for things like this.
--
PHP General Mailing List (http://www.php.net/)
On Monday 13 December 2004 23:21, Jay Blanchard wrote:
Before the image is created you can get an array of things in the temp
file, then check for a new thing after the image is created. You can
verify the file type and if all is kosher, delete it.
Seems like this is something that either the
Not necessarily. Several languages require that you write your own
clean-up code for things like this.
Well, but then it should be at least mentioned in the documentation,
right? Can you show me where it says that temp files are left over, or
how to get the filename of the temp file so that the
Jay Blanchard wrote:
[snip]
Yes. You will have to write your own clean-up code for things like
this.
I don't mean any user generated temporary files, I mean files which are
created by the PHP function ImageGIF(). How should I even know which
temporary file name GD chose in each case, or
Seems like this is something that either the GD lib or PHP should be
doing and
not the user. Shouldn't this be reported as a bug?
Yes, I also consider this a bug, unless it's something specific to my
system. To find out, I posted this here.
Is nobody else out there using ImageGIF() with
13 matches
Mail list logo