Page 1 of 1

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

Posted: Tue Feb 21, 2006 5:25 pm
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

Posted: Thu Feb 23, 2006 1:37 pm
by Klemen
You'd have to completely rewrite the code. You will be better off finding a MySQL guestbook from the start.

Posted: Thu Feb 23, 2006 7:08 pm
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

Posted: Fri Feb 24, 2006 12:11 am
by shawoody
Thanks. This is great!