Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.