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 Link to comment https://forums.phpfreaks.com/topic/153892-text-box-to-xml/ 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? Link to comment https://forums.phpfreaks.com/topic/153892-text-box-to-xml/#findComment-808896 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 Link to comment https://forums.phpfreaks.com/topic/153892-text-box-to-xml/#findComment-808897 Share on other sites More sharing options...
jackpf Posted April 13, 2009 Share Posted April 13, 2009 You could use fwrite() Link to comment https://forums.phpfreaks.com/topic/153892-text-box-to-xml/#findComment-808899 Share on other sites More sharing options...
csckid Posted April 13, 2009 Author Share Posted April 13, 2009 can u plz give an example Link to comment https://forums.phpfreaks.com/topic/153892-text-box-to-xml/#findComment-808953 Share on other sites More sharing options...
jackpf Posted April 13, 2009 Share Posted April 13, 2009 http://www.php.net gives plenty. Link to comment https://forums.phpfreaks.com/topic/153892-text-box-to-xml/#findComment-808958 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.