that requires some form of trust in the user... I experience too many stupid people in what I do on a day to day basis and it is just easier if it forces a download...
typical user experience: I were a user and there was a link to a word document that i wanted to edit. If I clicked on the link [and I had word installed =)] it would open the file in my browser window and allow me to edit it... but there is not toolbar for saving.. where are all my formatting tools... oh no I've gotta call the person that put the link out because I can't figure out what to do... help me ... BLAH!!! I hate people like that so I force the download and they edit it locally and use the same page to re-upload it.. it is just easier =) -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, February 21, 2003 3:51 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [PHP-WIN] Force a user to download a text file from a link 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