Re: GD functions don't delete temporary files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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, e.g. "jvc5Ne".


To be sure it's not a config problem, I compiled again with minumum options and minimum script

./configure --with-gd --with-zlib

<?php
$im = ImageCreate(20, 20);
ImageGIF($im);
ImageDestroy($im);
?>

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?


Regards,
Steve

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 support was removed from the GD library in Version 1.6, and added back in Version 2.0.28. This function is not available between these versions.


Regards, Martin

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux