Hi all,
I'm running the below code to download a text file. After the save as
window comes up, I can correctly save the document. However, the browser
goes to a "Action Cancelled" error page.
Here's my code:
<?
header("Content-type: application/text");
header('Content-Disposition: attachment; filename="variables.txt"');
header('Content-Length: ' . strlen($send));
?>
Am I suppose to redirect the page after it saves the file, and if so how
would I do that?
Thanks,
Doug Coning
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php