...

View Full Version : Unlink (delete) a file after it has been saved with "save as-dialog"



earni23
03-10-2010, 09:51 AM
Is it possible to unlink (delete) a file after it has been saved with the "save as"-dialog:
Perhaps like this:

header('Location: ' . $fileName);
unlink($fileName);

the problem here is that the file is deleted before the header redirects the file.

Nightfire
03-10-2010, 12:24 PM
I don't think you can. Not just with php anyways



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum