a ban code posibble ?

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   a ban code posibble ?
webshark
PayPal Donation
CZ Moderator
 Codezwiz Site Donator
webshark has been a member for over 20 year's 20 Year Member
turkey.gif
Age: 55
Gender: Male
Website:
Status: Offline
Joined: Mar 23, 2004
0.09 posts per day
Posts: 643
Points: 57,200
   
Hello

im not sure is it possible or not but i need a code .I want if peoples uses the words ( which i hate) and come to my site i want they meet a nice banned page.It would be perfect if it contains sites too which i ban visitors if they come from some chitty site icon_evil.gif



Back to top Reply with quote
#2   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,440
   
Try the Protector.
[ Register or login to view links on this board. ]




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#3   re: a ban code posibble ?
webshark
PayPal Donation
CZ Moderator
 Codezwiz Site Donator
webshark has been a member for over 20 year's 20 Year Member
turkey.gif
Age: 55
Gender: Male
Website:
Status: Offline
Joined: Mar 23, 2004
0.09 posts per day
Posts: 643
Points: 57,200
   
thx telli

well i was using protector before start using sentinel and wasnt know that it has an option for ban words for seach engines .i quit using it coz scared of using it with sentinel if it l mess my site. icon_sad.gif
i found this code is it can work telli ?
function check_evilkey() {
        if (isset($_SERVER["HTTP_REFERER"])) {
            $evilkey = $_SERVER["HTTP_REFERER"];
        } elseif (isset($HTTP_SERVER_VARS["HTTP_REFERER"])) {
            $evilkey = $HTTP_SERVER_VARS["HTTP_REFERER"];
        } else {
            $evilkey = "";
        }
        if ($evilkey != "") {
            $evilkey = strtolower($evilkey);
            if (strpos($evilkey, "keyword1") || strpos($evilkey, "keyword2") || strpos($evilkey, "keyword3") || strpos($evilkey, "keyword4") || strpos($evilkey, "keyword5") || strpos($evilkey, "keyword6") || strpos($evilkey, "keyword7") || strpos($evilkey, "keyword8") || strpos($evilkey, "keyword9") || strpos($evilkey, "keyword10") || strpos($evilkey, "keyword11") || strpos($evilkey, "keyword12"));
            {
                Header("Location: custom_message.htm");
            }
        } else {
        }
    }


if it can work where to i must it plz icon_rolleyes.gif


Back to top Reply with quote
#4   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,440
   
You need to have the table with the sites you dont want visiting. The Protector is fine with Sentinal I have installed it together on a few hundred sites with no problems.




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#5   
webshark
PayPal Donation
CZ Moderator
 Codezwiz Site Donator
webshark has been a member for over 20 year's 20 Year Member
turkey.gif
Age: 55
Gender: Male
Website:
Status: Offline
Joined: Mar 23, 2004
0.09 posts per day
Posts: 643
Points: 57,200
   


Originally posted by Telli :

on a few hundred sites .
icon_eek.gif icon_eek.gif icon_eek.gif



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum