Jump to content

Headers: Force Save


bcoffin

Recommended Posts

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 over the years!

Benny
Link to comment
https://forums.phpfreaks.com/topic/5253-headers-force-save/
Share on other sites

[!--quoteo(post=356268:date=Mar 18 2006, 05:47 PM:name=maexus)--][div class=\'quotetop\']QUOTE(maexus @ Mar 18 2006, 05:47 PM) [snapback]356268[/snapback][/div][div class=\'quotemain\'][!--quotec--]
You can't take away the open option, that is browser level stuff >_> Controlled by the user through the browser.
[/quote]


hmm.. okay. I figured that was the case.
THank you for the help.

benny
Link to comment
https://forums.phpfreaks.com/topic/5253-headers-force-save/#findComment-18665
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.