Far be it from me to question the wisdom of tweaking the headers, but why do
you need them at all?
Why can't you just do:

        <a href ="filename.txt">click here</a>

which, so far as I can see, will load said text page into the user's browser
window as soon as they click on the link. If the user then wants to save it,
they can use the browser's Save As function.

Too easy?

Jill


-----Original Message-----
From: FARRINGTON, RYAN [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 20, 2003 2:22 PM
To: 'George Pitcher'; Matt Babineau; [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] Force a user to download a text file from a link


you could also try this:
or this 
or this 

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to