Problems with SPAM? Read this!

Dr. GBooky is here to help you with your guestbook problems ...
drwillennium
Posts: 6
Joined: Sun Sep 03, 2006 5:27 pm

Entries.php

Post by drwillennium »

I have just downloaded version 1.43 (I am updating from 1.41) and I am confused about the entries.txt. I was under the impression that you turned this into a php file so that it could not be accessed via the web. However, the version I downloaded I see that it is still a text file. Am I doing something wrong or is it still supposed to be a text file?
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

You can rename entries.txt to any name, for example "sdkjh4w89vzakjfd.txt" and set that name as $settings['logfile'] in settings.php.
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
suehutton
Posts: 2
Joined: Mon Aug 28, 2006 11:19 am

Post by suehutton »

I took the developers' advice and renamed the text file to something other than entries, making sure that I reflected this change in the settings for the logfile in settings.php
http://www.suehutton.co.uk
drwillennium
Posts: 6
Joined: Sun Sep 03, 2006 5:27 pm

Post by drwillennium »

Yes I do know that, and actually I do do it. I was just confused because I thought you had changed it. Thanks for the great script.
allencummings
Posts: 1
Joined: Sat Nov 25, 2006 3:02 am

email verification prior to posting

Post by allencummings »

I had such a time with someone posting junk in the guestbook that I have removed the guestbook from the site. This was someone intentionally entering the viewed code.

The IP logger is nice, but since that only allows you to view where it comes from and NOT who sent it, the IP logger is not a very useful tool.

However, sending a confirmation email, just like I received to sign up for this forum, prior to allowing a post, would be really great. Then, someone could not get by posting anything with a bogus email addy.
G. Allen Cummings
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

What version of gouestbook were you using?
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
finger-lickin
Posts: 4
Joined: Tue Nov 28, 2006 7:03 am

Post by finger-lickin »

Hi there,


I suggest renaming all the form fields to something bizare, this might prevent bots from ascertaining certain things.

i.e, rename url fieldS to something like "christmas", unusual example i know.

email fieldS to "mirror" etc etc.

But obviously this would have to be done by the author, unless of course you are confident with your PHP/HTML.

give it a bash.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

This might actually not be a bad idea at all. Noted.
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
finger-lickin
Posts: 4
Joined: Tue Nov 28, 2006 7:03 am

Post by finger-lickin »

Hi again,

Just to further the idea.

If you did go ahead and alter the code with bizare field names, then you might want to consider putting a few hidden fields with the original names,
at the start of the sign up form.

i.e, name, email , url , message. etc etc

so a bot might fill these in and the data go nowhere upon submitting.

Just a hind sight one.

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

Post by Klemen »

Hi,

Sure and to take that even further - normally the hidden fields would be empty (no value), but if the script detected the hidden fields are not empty it would block the message instantly.

Thanks for the idea!
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
morningsun76
Posts: 7
Joined: Sat Jul 22, 2006 7:49 pm

People who sign guestbook get spam?

Post by morningsun76 »

When people sign the guestbook, their e-mail address is displayed to all visitors including a link. I'm concerned that I'm inviting my site visitors to open themselves unknowingly up to lots of spam by signing my guestbook.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Gbook does encode chars like . : and @ in e-mail link, but if you are still conserned you can disable showing e-mail address:

viewtopic.php?t=793&highlight=hide+email

The above thread is for an older version, but the code is the same (just different line numbers).
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
chucktarv
Posts: 7
Joined: Tue Jan 10, 2006 6:02 pm

Upgrading to GBook 1.5

Post by chucktarv »

I just asked a question in the wrong forum. Please pardon. Is upgrading as easy as you describe here? I'd like to upgrade without losing the entries on the site I manage.
ChuckT
nxshardcore
Posts: 8
Joined: Wed Oct 15, 2008 7:40 pm

Post by nxshardcore »

as i checked. i have version 1.5 installed allready but.
I got a lot of spam anyhow.

http://www.nxshardcore.com/main2/guestbook/gbook.php

Blogspot is the website every url adress points to.
How to get rid of this spam and is it possible to make an admin area with the option to select more than 1 email and then to delete them?

This would be a great extra.

And language files. I translated the guestbook to dutch wich was a lot of work.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

The latest version is 1.6 not 1.5
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
Post Reply