Hi there. I managed to get the prompt for a file download when a user clicks
on a text link. The file downloads properly to the client machine, howevr,
when I open up the file there is no content. What do I have to add to the
following code to get the content sent back to the user?
Thx Joe :)
<?PHP
header("Content-type: application/octet-stream");
header("Content-Disposition: attachment; filename=file.txt");
?>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]