Here are sumthing i found havnt tested
Anti Hacker script
Collapse
X
-
interesting, crazy and even lazy .. thats what this script is
all it does is it replaces string, all lavalair edits do have this functionality already, infact this function is limited as it will only replace value of $txt variable, anything else $abcdefg will have no effectCode:function anti_hacker($txt){ $txt=str_replace("|","I",$txt); $txt=str_replace("../",",,/",$txt); $txt=str_replace("||","I",$txt); $txt=htmlspecialchars($txt); $txt=str_replace("\"",""",$txt); $txt=str_replace("/\\\$/","$",$txt); $txt=str_replace("$","$",$txt); $txt=str_replace("\\","\",$txt); $txt=str_replace("@","@",$txt); $txt=str_replace("`","",$txt); $txt=str_replace("^","",$txt); $txt=str_replace("%","%",$txt); $txt=stripslashes(trim($txt)); return $txt;}
Probably this script might have been had a look at before creating lavatinyurl.com/earnbymobile
Easy earning for Indians
---------------------
Alternative mobile advertising network .. Minimum 100 USD pay / NET15 pay cycle, Good Brand, Best targeting for Android
goo.gl/6vub3
-
LOL
This cant be so true what somthing else said !! lmaoVisit: Chat4u.mobi - The New Lay Of being a site of your dreams!
Visit: WapMasterz Coming Back Soon!
_______
SCRIPTS FOR SALE BY SUBZERO
Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
_______
Info & Tips
php.net
w3schools.com
Comment
-
This is better way
Code:// filter Words That will couse you problems also helps stop sql injectshon $text = str_replace("&","&",$text); $text = str_replace(")",")",$text); $text = str_replace("(","(",$text); $text = str_replace ("\'", """, $text); $text = str_replace("`","`",$text); $text = str_replace("~","~",$text); $text = str_replace("£","£",$text); $text = str_replace("¢","¢",$text); $text = str_replace("€","€",$text); $text = str_replace("{","{",$text); $text = str_replace("}","}",$text); $text = str_replace("$","$",$text); $text = str_replace("%","%",$text);Last edited by subzero; 12.10.09, 15:59.Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
Visit: WapMasterz Coming Back Soon!
_______
SCRIPTS FOR SALE BY SUBZERO
Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
_______
Info & Tips
php.net
w3schools.com
Comment
-
dont understand
i dont understand this code, somebody thrugh more lite on it, where will they put it in the scripthttp://myfacepals.com
MYFACEPALS SOCIAL NETWORKsigpic
Comment
-
for Lava put this in core.php
then example for shoutbox use it likePHP Code:function anti_hack($text)
{
$text = str_replace("&","&",$text);
$text = str_replace(")",")",$text);
$text = str_replace("(","(",$text);
$text = str_replace ("\'", """, $text);
$text = str_replace("`","`",$text);
$text = str_replace("~","~",$text);
$text = str_replace("£","£",$text);
$text = str_replace("¢","¢",$text);
$text = str_replace("€","€",$text);
$text = str_replace("{","{",$text);
$text = str_replace("}","}",$text);
$text = str_replace("$","$",$text);
$text = str_replace("%","%",$text);
}
PHP Code:$text = anti_hack($text);
PHP Code:foreach ($_SERVER as $server => $value)
{
echo "$server is $value<br />";
}
Comment
Comment