providing guestbooks to my users

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
JinxBoy
Forum Newbie
Posts: 1
Joined: Fri Mar 07, 2003 2:24 pm

providing guestbooks to my users

Post by JinxBoy »

Hey all,

I'm kinda a rookie when it comes to php, i'm kinda just cruising my way throug easy includes and some scripts i've been needing, but now i want to try something for my users....

I want to create a free guestbook service, such as http://www.signmyguestbook.com, or something like that, and I'm looking for the best way to do so...

Is there anyone who can show me the best way to do this? The reason why I'm doing something that's been done 3000 times before is simple... I got a lot of traffic that i'm not using on an extemely fast server, and it's very difficult to find a free guestbook service in dutch, which does not put any advertising on the pages....

So, if you guys can help me, i'd be absolutely delighted...

thanx in advance
McGruff
DevNet Master
Posts: 2893
Joined: Thu Jan 30, 2003 8:26 pm
Location: Glasgow, Scotland

Post by McGruff »

If I remember rightly, you can get a free guestbook from freewebs.com (or was it bravenet.com?) which you could link to from your site.

Doing it in php shouldn't be too hard.

Set up a database table for guests with a row ID number, name, message and whatever else you want.

Next, you need a script which creates a form for guests to add their name and message, a form processor script (often part of the form script) to stick the info in the database, and then a script to get the database records and display them.

It's all pretty simple stuff - though it might not seem so at first. Check out some tutorials and get the php & mysql manuals if you don't have them already (php.net, mysql.com).

If you get stuck on a script, post your problem here.
Post Reply