Hi All..
I'm using the following script to give the option to either "SAVE" or "OPEN" a file, via headers() function.
I'd like disable the "OPEN" option -- does anybody know if this is possible? So that the script only offers the option of saving the document...
Thanks for all your help !
Headers: Force Save
Moderator: General Moderators
Re: Headers: Force Save
Not possible.
In general you can't force the browser to do anything. Save a file, open a file, print a document...
In general you can't force the browser to do anything. Save a file, open a file, print a document...
Re: Headers: Force Save
The best you can do is pop up that box asking the user what to do.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.