editing a comment in my Guestbook

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
bobs75
Posts: 20
Joined: Sun Apr 19, 2015 12:40 am

editing a comment in my Guestbook

Post by bobs75 »

Script URL:
Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below: Where do I go to edit a comment in my Guestbook?
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Re: editing a comment in my Guestbook

Post by Henrie »

To edit a guestbook comment entry you have to download the logfile from your server to your computer and edit it with a text editor such as notepad++

The logfile can be found in the root of your Gbook folder. The default name is entries.txt but you may have changed it so it will be harder for others to find it. If you do not remember to what name you have changed it, look into your settings.php file and find the following entry.
$settings['logfile']='entries.txt';

I hope this helps you.

Greetings,
Henrie
I do not monitor the Gbook forums regularly anymore since I do not use the Gbook script myself anymore for a long time. But it helped me a lot in learning to understand php.
bobs75
Posts: 20
Joined: Sun Apr 19, 2015 12:40 am

Re: editing a comment in my Guestbook

Post by bobs75 »

I found the txt file for comments in my Guestbook and was able to edit the one comment that needed to be corrected. In the process of doing this, I discovered that I had cited an incorrect title for this file in my computer, so I corrected that also. This gave me a correct copy of the "entries.txt" file in my computer for future referencing, if necessary. Thanks a lot for your help. Bob
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Re: editing a comment in my Guestbook

Post by Henrie »

Happy you got it working.
Indeed good to keep a copy as a backup in case something goes wrong. In seldom cases it happens that you guestbook entries.txt file becomes corrupt.

Greetings,
Henrie
I do not monitor the Gbook forums regularly anymore since I do not use the Gbook script myself anymore for a long time. But it helped me a lot in learning to understand php.
Post Reply