glenvern Posted June 25, 2013 Share Posted June 25, 2013 Is it possible (in html) to save the result of an <input> tag to a text file? I have googled this question but can't get any kind of reasonable answer, all the answers seem to wander off into the mystical realms of asp, php, ajax, etc.. of which I no nothing.. Can anyone steer me in the right html direction please. Link to comment Share on other sites More sharing options...
newseed Posted June 25, 2013 Share Posted June 25, 2013 You will need to use some kind of scripting to make this happen. Some use a ready made php form while others build their own. Google: "save input field data to text file" and you should get a few ideas on how to achieve this. Link to comment Share on other sites More sharing options...
jeffman Posted June 25, 2013 Share Posted June 25, 2013 Glenvern should explain if the goal is to save the file on the server or on the client's desktop computer. Link to comment Share on other sites More sharing options...
MarkT Posted June 26, 2013 Share Posted June 26, 2013 Is it possible (in html) to save the result of an <input> tag to a text file? I have googled this question but can't get any kind of reasonable answer, all the answers seem to wander off into the mystical realms of asp, php, ajax, etc.. of which I no nothing.. Can anyone steer me in the right html direction please.I assume you want to save it to a text document on the server,If so I recommend using PHP fwrite, tutorials below;http://www.w3schools.com/php/func_filesystem_fwrite.asphttp://php.net/manual/en/function.fwrite.php Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now