bcoffin Posted March 18, 2006 Share Posted March 18, 2006 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 Quote Link to comment https://forums.phpfreaks.com/topic/5253-headers-force-save/ Share on other sites More sharing options...
bcoffin Posted March 18, 2006 Author Share Posted March 18, 2006 For some reason, I cannot post this inquiry with the header code -- does the forum not like that code? Quote Link to comment https://forums.phpfreaks.com/topic/5253-headers-force-save/#findComment-18656 Share on other sites More sharing options...
maexus Posted March 18, 2006 Share Posted March 18, 2006 You can't take away the open option, that is browser level stuff >_> Controlled by the user through the browser. Quote Link to comment https://forums.phpfreaks.com/topic/5253-headers-force-save/#findComment-18664 Share on other sites More sharing options...
bcoffin Posted March 18, 2006 Author Share Posted March 18, 2006 [!--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 Quote Link to comment https://forums.phpfreaks.com/topic/5253-headers-force-save/#findComment-18665 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.