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.
Perhaps like this:
header('Location: ' . $fileName);
unlink($fileName);
the problem here is that the file is deleted before the header redirects the file.