Page 1 of 1

using unlink after opening a file

Posted: Fri Aug 11, 2006 6:18 pm
by ibanez270dx
Hi,
I have a script that dynamically creates an .XLS, saves it on the server, and then opens it ... but I want to delete it after the user exits the .XLS. I used the unlink($myfile) command on the line after I used meta tags to open the .XLS automatically, but it deleted before it even opened. If I can just dynamically create the excel and open it without saving to my server first, that would be even better. Anybody know something that can help me out?

Any help is appreciated,
- Jeff

Posted: Fri Aug 11, 2006 6:19 pm
by feyd
dump it to the browser.