this.user Posted May 20, 2010 Share Posted May 20, 2010 What I am trying to do, is when a user user clicks on a link I provide, I want the save file to computer option to pop up. how do I do that? and also how do I make it so if a user visits a page, it will automatically give them the option to save a file that I provided. Quote Link to comment https://forums.phpfreaks.com/topic/202356-how-do-i-open-save-option/ Share on other sites More sharing options...
trq Posted May 20, 2010 Share Posted May 20, 2010 There is a 'force download' example script in the 'Code Snippets' board. Your not getting this done with html alone. Quote Link to comment https://forums.phpfreaks.com/topic/202356-how-do-i-open-save-option/#findComment-1061007 Share on other sites More sharing options...
ram4nd Posted June 4, 2010 Share Posted June 4, 2010 Can you force browser to download html file as well? Quote Link to comment https://forums.phpfreaks.com/topic/202356-how-do-i-open-save-option/#findComment-1067835 Share on other sites More sharing options...
trq Posted June 4, 2010 Share Posted June 4, 2010 Yes. Quote Link to comment https://forums.phpfreaks.com/topic/202356-how-do-i-open-save-option/#findComment-1067992 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.