<html xmlns="http://www.w3.org/1999/xhtml">
<?php
function anti_injection($sql)
{
// remove palavras que contenham sintaxe sql
$sql = preg_replace(sql_regcase("/(from|select|insert|delete|where|drop table|show tables|#|\*|--|\\\\)/"),"",$sql);
$sql = trim($sql);//limpa espaços vazio
$sql = strip_tags($sql);//tira tags html e php
$sql = addslashes($sql);//Adiciona barras invertidas a uma string
return $sql;
}
//modo de usar pegando dados vindos do formulario
$nome = anti_injection($_POST["nome"]);
$senha = anti_injection($_POST["senha"]);
//changing html characters using htmlspecialchars() Learn more here: PHP: htmlspecialchars - Manual
//$_POST['link'] = <a href="test">test</a>
$link = htmlspecialchars($_POST['link'], ENT_QUOTES);
echo $link; //outputs: <a href='test'>Test</a>
header("Content-Type: text/html; charset=ISO-8859-1",true)
?>
@Feloth
It seems to be an anti injecter on something like that xD
+1 XD! hahaEvil Puncker said:how much did kito paid to u guys?
Hahahaa I added it cause I read it from a topic here at otland xD
please dude, do things that u know what they do and how they works, dont do things that u dont know anything =/ that just sux
+1 XD! haha
Lol kito you're so obvious, I bet you are giving premium points to your players to come and post here a fake message "OMG IS THE BEST SERVER EVER".. What a paid/fake message. haha.
Do you even know how to add php codes into your website?
Oh yeah, just check the website, it didn't form by itself![]()
Neither by yourself. LOLkito2 said:Oh yeah, just check the website, it didn't form by itself
Is not, is just noobish.kito2 said:Where it says it is illegal?
Neither by yourself. LOL
Is not, is just noobish.
+1 XD! haha
Lol kito you're so obvious, I bet you are giving premium points to your players to come and post here a fake message "OMG IS THE BEST SERVER EVER".. What a paid/fake message. haha.
Of course it works when all you want is money but learn.. Thats stupid.. Learn doing thing by yourself, then you wont have to pay anyone, trust me, that works better than paying
Btw, 28 players in 3 days? LOOL! You call that progress?
How does that makes sence in what we were talking about?kito said:Oh yeah Kekox, but Im not looking for "temporal players", Im looking for leaders with teams to have wars, no custom players that comes to test it, play 2-3 days an leave.