Spinethetic
08-15-2010, 08:20 PM
I am creating a landing page for visitors and what I'am trying to setup is something like comment functionality as can be found on any typical WordPress blog.
Because I create several different different landing pages every month, the reason I just want it real simple flat-file is so that I have more free time that is not spent on database creation ec etc.
I can make a 777permission txt file and have people can add entries (name, website, comment) and just run a foreach loop through and display each entry so far, but I wan to have the entries written and stores into an XML file like so..
<comment>
<name>John Smith</name>
<website>http://johnsmith.com</website>
<date>7/23/2010</date>
<comment>Hey but what about the blah blah blah</comment>
</comment>
But I am not very familiar with working with reading and writing to XML formated files. Thank you for any help or direction :)
Because I create several different different landing pages every month, the reason I just want it real simple flat-file is so that I have more free time that is not spent on database creation ec etc.
I can make a 777permission txt file and have people can add entries (name, website, comment) and just run a foreach loop through and display each entry so far, but I wan to have the entries written and stores into an XML file like so..
<comment>
<name>John Smith</name>
<website>http://johnsmith.com</website>
<date>7/23/2010</date>
<comment>Hey but what about the blah blah blah</comment>
</comment>
But I am not very familiar with working with reading and writing to XML formated files. Thank you for any help or direction :)