Page 1 of 1
Message verification on a guestbook
Posted: Thu Sep 21, 2006 7:25 pm
by akimm
I'm wondering if its possible to verify or approve a persons guest book post before its viewable on the page? Basically so my guestbook doesn't get spammed. I am writing this in PHP, i will be using FLATFILE DB's until i can get a mySQL DB to use.
Any help is appreciated. Thanks all!
Posted: Thu Sep 21, 2006 7:36 pm
by feyd
Yes, it's possible.
Posted: Thu Sep 21, 2006 7:42 pm
by akimm
Would this be the best way to write it?
Have all the info written to one file, then have that file rendor on a seperate page via include for instance, then have an if else statement saying whether I approve or not, if I approve have them then written to the guestbook.txt where it can be later invoked to be viewable to the public?
Posted: Thu Sep 21, 2006 7:47 pm
by feyd
It's certainly a way, but I can't say whether it's the best way or not.
Posted: Thu Sep 21, 2006 7:51 pm
by akimm
Well, with my limited resources, and my novice coding skill, which is probably most obvious to you. Would you consider this option a 'good-enough' solution, or is there something I perhaps haven't considered that would be more functional.
By the way, I'd like to create a control panel.
The reason I'm doing this in the first place is because, when I built my website, akimm.com, I had little to no programming experience period. I put up a basic framework, one of the first applications I added was a recently downloaded guestbook. Written in CGI, but now its having some errors, and I have the ability(I think, I hope) to write this now, and feel I need a new project.
Posted: Thu Sep 21, 2006 8:02 pm
by feyd
I cannot say whether it is within reach of your skill range as I just don't know what your particular pieces are in enough detail. All I can assume is you'll be posting several threads throughout the development of this asking various questions. So no matter what, it's a learning experience. And obvious or not, that's what we want people to do here, so by all means, go right ahead and build it as you've specified.
Ok
Posted: Thu Sep 21, 2006 8:23 pm
by akimm
Thanks for the direction.