mfindlay Posted December 18, 2007 Share Posted December 18, 2007 I have a script which creates a user defined temp file on the server, adds some stuff to it and then lets the user download the file, then destroys the file when downlaoded. Is it possible to destroy a temp file when the browser closes if the user doesn't download the file?? Cheers. Link to comment https://forums.phpfreaks.com/topic/82185-solved-deleting-files/ Share on other sites More sharing options...
jvrothjr Posted December 18, 2007 Share Posted December 18, 2007 Can you use a javascript onunload that kills the files on close? Link to comment https://forums.phpfreaks.com/topic/82185-solved-deleting-files/#findComment-417645 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.