Sending gbook data to MySQL intead of entries.txt (???)

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
shawoody
Posts: 13
Joined: Wed Jul 06, 2005 5:30 pm

Sending gbook data to MySQL intead of entries.txt (???)

Post by shawoody »

Anyone know how I might configure the gbook.php file to send the gbook data to a MySQL database instead of the entries.txt file? I'd like people's email addresses, websites, etc, and their entries to be stored in a table in my database instead of in the text file. Any help would be greatly appreciated. I just need help with the proper PHP commands 'cause I don't want to disrupt the gbook.php file.

Thank you.

shawoody
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

You'd have to completely rewrite the code. You will be better off finding a MySQL guestbook from the start.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Post by Henrie »

There is a MySQL version of GBook 1.33 posted by a user in the GBook add-ons forum, see here viewtopic.php?t=340.

I have never used it myself but maybe it is of use to you.

Greetings,
Henrie
shawoody
Posts: 13
Joined: Wed Jul 06, 2005 5:30 pm

Post by shawoody »

Thanks. This is great!
Post Reply