csckid Posted April 13, 2009 Share Posted April 13, 2009 i am a beginner to xml....... how can i take an input from textbox and write in xml file??.... i have to store data from a textbox to xml Quote Link to comment Share on other sites More sharing options...
Axeia Posted April 13, 2009 Share Posted April 13, 2009 Javascript doesn't allow you to save to files, as letting a website write stuff to your hard-drive would pose 'some' security risk. If you want to store a file on the server you'll need to provide some more information, is the user going to write a complete xml document in a textbox? Quote Link to comment Share on other sites More sharing options...
csckid Posted April 13, 2009 Author Share Posted April 13, 2009 i have 3 textbox... input from the three textbox needs to be taken and save in existing xml file. i am using php as server side Quote Link to comment Share on other sites More sharing options...
jackpf Posted April 13, 2009 Share Posted April 13, 2009 You could use fwrite() Quote Link to comment Share on other sites More sharing options...
csckid Posted April 13, 2009 Author Share Posted April 13, 2009 can u plz give an example Quote Link to comment Share on other sites More sharing options...
jackpf Posted April 13, 2009 Share Posted April 13, 2009 http://www.php.net gives plenty. Quote Link to comment 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.