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!
Message verification on a guestbook
Moderator: General Moderators
- akimm
- Forum Contributor
- Posts: 460
- Joined: Thu Apr 27, 2006 10:50 am
- Location: Ypsilanti Michigan, formally Clipsburgh
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?
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?
- akimm
- Forum Contributor
- Posts: 460
- Joined: Thu Apr 27, 2006 10:50 am
- Location: Ypsilanti Michigan, formally Clipsburgh
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.
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.
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
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.