Nope. Are you sure you followed the instructions properly?
One thing I noticed was (for Glennu).....
Code:
if ($ENV{HTTP_COOKIE} =~ /[A-Z]+/i ){
@cookies = split(/;/,$cdat);
foreach $i (@cookies) {
($name1,$ci1) = split(/=/,$i);
if (($name1 eq "rated") and ($ci1 == $in{'ID'})) {
&site_html_rate_failure ("Sorry, you've already rated for this resource once recently.");
return;
}
}
}
There is no need to use regex - you can just do....
Code:
if ($ENV{HTTP_COOKIE}){
@cookies = split(/;/,$cdat);
foreach $i (@cookies) {
($name1,$ci1) = split(/=/,$i);
if (($name1 eq "rated") and ($ci1 == $in{'ID'})) {
&site_html_rate_failure ("Sorry, you've already rated for this resource once recently.");
return;
}
}
}
Also I don't see the point of the mod because rate.cgi already logs the IP of the person submitting the rating.
Paul
Installations:
http://wiredon.net/gt/ Support:
http://wiredon.net/forum/