Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

Correct syntax for db_referers?

Quote Reply
Correct syntax for db_referers?
What is the correct syntax for this line:

# A list of valid referers. Anyone coming from a page not in
# this list will not be allowed to submit to the directory. Useful
# for spam prevention.
$LINKS{db_referers} = [];

is it ["buffyguide.com", "buffyguide.net", "buffyguide.org"]?

I'm correct that prefacing www's or subdomains is unnecessary because it just does a regex on the domain name, right?

I opted to install the script myself, for some strange reason.

Any help would be greatly appreciated,

nemesis

--
You refer to the prophecy of The One, who will bring balance to the Force. You believe it's this boy?


---------------------
BuffyGuide.com
Subject Author Views Date
Thread Correct syntax for db_referers? nemesis 1743 Jul 17, 2000, 6:55 PM
Thread Re: Correct syntax for db_referers?
Stealth 1687 Jul 17, 2000, 7:41 PM
Thread Re: Correct syntax for db_referers?
nemesis 1668 Jul 17, 2000, 11:07 PM
Post Re: Correct syntax for db_referers?
Stealth 1656 Jul 18, 2000, 8:21 AM