Flat File Comments Script

Hey Everyone,

I have written a little flat file commenting system and everything works great! It get's the post ID from the page, and any comments tagged with that ID are displayed. The form works perfectly as well.

I was wondering how safe it was though and if there is a way to make it so that people can't use it to hack into my website. I know there's no real issue when adding a comment to the text file, but I am worried about displaying the comment back on the page. There's no approval...

Flat File Comments Script

from PHP http://ift.tt/1KoyxSX
via IFTTT
Thanks for your comment
Loading...