Gossamer Forum
Home : Products : Links 2.0 : Customization :

Possible to have the rate.cgi only count hits if reffered from certain host?

Quote Reply
Possible to have the rate.cgi only count hits if reffered from certain host?
Hi,

I have a problem where members change the rate code to their liking and get a rating that way.

IS there a way to only count the vote after the script realizes that it could since its being used from the correct host?

Hers a pice of code a similar script uses for this process:

unless ($host =~/thabox.net/i) {
$member = $INPUT{'member'};
&print_gate;
exit;

Hope this helps, and if anyone can figure this out Smile thanks.

------------------
BeatBox Entertainment
beat-box.com
Ron Newbigging