On Saturday 27 November 2004 03:13, Julian wrote:
> I would like to delete a set of images right after they are displayed on
> the page using unlink.
I'm curious to know why you want this.
> Unfortunately, with unlink the images are deleted
> before they display on the user's browser. Is there
What you may want to try doing is when the script is ran, it goes through a
"clean-up" function and deletes everything that it doesn't need for the
current execution.
Though, realize that if two people hit a page within a few seconds, you may
end up deleting some images that the first user is tryi
PHP has wonderful capabilities to generate images on the fly, such that they
are never stored on disk, perhaps you should look into that as an option,
you could even make the code decide who should be able to see the image and
who should not.
http://www.php.net/manual/en/ref.image.php
Warren Vail
3 matches
Mail list logo