I made a image validation code, wich generate a image every time the user enters a page.

The name of the image uses the session id, and I save it in a temporary directory.

When the user close the browser (or leave the site) I would have to delete the image (or else I will start to have many garbage images in the temp directory).

   Is there any way to do that? From PHP?

http://uk.php.net/manual/en/function.register-shutdown-function.php

--
Richard Heyes
+44 (0)800 0213 172
http://www.websupportsolutions.co.uk

Knowledge Base and HelpDesk software
that can cut the cost of online support

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

Reply via email to