Clever Copy V2 0a > Your Server Root / Admin / Antihak.php

Questions? Need Help? Want to share? » PHP Forum
Script Name:
Clever Copy V2 0a

Download:
clever-copy-v2-0a.zip

Category:
Blog

Archive Content:

Your Server Root

Your Server Root > Admin

Your Server Root > Admin > Items

Your Server Root > Admin > Languages

Your Server Root > Admin

Your Server Root

Your Server Root > Banners

Your Server Root

Your Server Root > Downloads

Your Server Root

Your Server Root > Gallery

Your Server Root > Gallery > Photos

Your Server Root > Gallery > Photos > Buttons

Your Server Root > Gallery > Photos

Your Server Root > Gallery > Photos > Thumb

Your Server Root

Your Server Root > Images

Your Server Root > Images > Admin

Your Server Root > Images

Your Server Root

Your Server Root > Install

Your Server Root > Install > Languages

Your Server Root > Install

Your Server Root > Languages

Your Server Root

Your Server Root > News

Your Server Root

Your Server Root > Newsletter

Your Server Root

Your Server Root > Personalities

Your Server Root > Poll

Your Server Root

Your Server Root > Randompics

Your Server Root > Randomquotes

Your Server Root

Your Server Root > Stats

Your Server Root

Your Server Root > Tag

Your Server Root > Tag > Smilies

Your Server Root

Antihak.php:


<?php
function antihak($text) {
$text str_replace("http://", "", $text);
$text str_replace("\"", "&quot;", $text);
$text str_replace("/", "", $text);
$text str_replace(chr(10), "", $text);
$text strip_tags ($text,  "");
$text str_replace(chr(13),  "<br>",  $text);
$text str_replace("'", "&#39;", $text);
return(
$text);
}

function 
antihaxmr($text) {
$text str_replace("http://", "", $text);
$text str_replace("\"", "&quot;", $text);
$text str_replace(chr(10), "", $text);
$text strip_tags ($text,  "");
$text str_replace(chr(13),  "<br>",  $text);
$text str_replace("'", "&#39;", $text);
return(
$text);
}

function 
trncatetext($text, $limit)
{
  if( 
strlen($text)>$limit ){
    
$text substr$text, 0, $limit );
    
$text substr$text, 0, -(strlen(strrchr($text, ' '))) );
  }
return 
$text;
}

function 
baklinkCheck($siteurl, $recip)
{
   
$arrText file($siteurl);
   for (
$i=0$i<count($arrText);$i++)
   {
      
$text $text $arrText[$i];
   }
   if (
eregi($recip, $text)) {
       return 
true;
   }else{
       return 
false;
   }
}

function 
seson($ses){
$reg $ses;
$num mt_rand(3, 9);
for(
$i=1;$i<=$num;$i++)
  {
  
$reg =
  
base64_encode($reg);
}
$alpha_array = array('Y', 'D', 'U', 'R', 'P', 'S', 'B', 'M', 'A', 'T', 'H');
$reg $reg."+".$alpha_array[$num];
$reg base64_encode($reg);
return 
$reg;
}



function 
regstre($strg){
$alpha_array = array('Y', 'D', 'U', 'R', 'P', 'S', 'B', 'M', 'A', 'T', 'H');
$reg base64_decode($strg);
list(
$reg, $letter) = split("\+", $reg);
for(
$i=0;$i<count($alpha_array);$i++)
   {
   if(
$alpha_array[$i] == $letter)
   break;
}
for(
$x=1;$x<=$i;$x++)
   {
   
$reg=base64_decode($reg);
}
$reg stripslashes($reg);
return 
$reg;
}
?>


Other Blog Scripts:

WebMaster Resources Home

©RingsWorld.com