in reply to
Re: http redirection and download
in thread http redirection and download
For a `real' header:
<head><title> tnx </title></head>
<body><h1> thank you </h1></body>
To save some CPU cycles, you can make that into an "unparsed" file (on my Apache box, by putting a .http extension on it) with the HTTP headers and the HTML together. The user sees only an HTML page, but there's this magic when they load it from your server that gives them the file.