Page 1 of 1

Guestbook entries in PHP

Posted: Sun Jan 14, 2007 12:50 pm
by jayceegee
Script URL: www.jimgratton.co.uk/gen_gb/gbook.php
Version of script: 1.43
Hosting company: Hosting Insiders
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution: none

Write your message below:

Hello Klemen,

viewtopic.php?t=782&postdays=0&postorde ... t&start=30

In the above post you state the following
Well since it's a plain text file it can be viewed. You can rename the file to something "asdvfzieafhkj.txt" and set the new name for the file in settings.php under $settings['logfile'] (that's why it's for). But yes, I see the issue and will see if that can be renamed to a PHP file by default in next version (a PHP one couldn't be viewed).
I have just done a Google search on my name and found the latest posts in the guestbook are shown, even though the “txt” file was changed to “php” some time ago, before the last two entries were made. So it now appears that search robots can read “php”
I would be interested to hear your comments on this subject.

Regards, Jim.

Posted: Sun Jan 14, 2007 2:30 pm
by Klemen
I'm not sure why you are so surprised, search engines can crawl your guestbook (the HTML generated output of gbook.php) just as they can any other page of your website. If you want to block them from doing that you can use robots.txt for example:
http://www.google.com/search?hl=en&q=ro ... t+tutorial

The quoted comment was made in regards to viewing the SOURCE of entries.txt file and has nothing to do with viewing the html output of gbook.php (your guestbook) which is publicly available on your website.

Guestbook entries in PHP

Posted: Sun Jan 14, 2007 4:02 pm
by jayceegee
Klemen,

Thankyou for your reply. It was a misinterpretation of the statement by me.

Jim.