Hi! I have this code:

$lines = gzfile("http://www.example.com/some/resource";);

for its internal needs gzfile() creates a temp file such as
/var/tmp/phpFjJxNX where the gzipped resource is kept. The file stays
there forever and eventually the fs runs out of inodes. Any way to
unlink the temp file from the script? I've found no api for that.
Alternative code:

$lines = file("compress.zlib://http://www.example.com/some/resource";);

does the same thing still leaving the file around.

Using PHP 4.3.3RC4 (built: Aug 24 2003 14:59:14)
This could be a bug, but upgrading is not an option.


Any help appreciated.

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

Reply via email to