Forum Moderators: coopster

Message Too Old, No Replies

"tip a friend" script

pros/cons and security

         

hafnius

10:52 pm on Apr 16, 2004 (gmt 0)

10+ Year Member



Hi all

I have thought about putting a "Tip a friend" link on my side where a user can email the URL currently viewed with a small message to a friend. i think i could make a simple one using

$_SERVER['HTTP_REFERER']
but maybe you guys know of a script already that i could use.

One other thing is the posibility for a spammer or some evil minded user to abuse this feature - which i would like to avoid ofcourse.

If you have any Pros/cons to this feature i am interested in hearing thos as well.

Kind Regards
/Hafnius

jcoronella

11:34 pm on Apr 16, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'd make sure that the same IP can't use the field more than a few times a day. Other than that, can't see any problems. I've used this type of thing before with few complaints (albeit some)

Also helps if you dont' TELL them that messages are being blocked if they send 100 of them. Just let them waste their time otherwise they may try to get around it.

coopster

12:07 pm on Apr 17, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



I've heard of PHPTELL, but never used it myself. May be worth a look..

martinibuster

3:07 pm on Apr 17, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



No complaints.

brucec

3:45 pm on Apr 17, 2004 (gmt 0)

10+ Year Member



The $_SERVER['HTTP_REFERER'] system variable is what I use. I suggest just sticking with it.

hafnius

6:22 am on Apr 18, 2004 (gmt 0)

10+ Year Member



Thanx Guys

The PHPTELL looks promising it just needs a may to to block the same IP from posting severel times a day - i will deal with that - thnax for the replies.

Kind Regards
/Hafnius