Most visitors online was 12720 , on 2 May 2024
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature currently requires accessing the site using the built-in Safari browser.
dear
how to block ip adress ? my travianx server got hacked,(inject sql maybe)
he can change his population and source, help me please
It's really tuff thing about ddosing, if you have dedicated server, ill make the tautorial soon how to defend 80% of dos DDOS or slowloris dos attacks. Using APF for whole server + mod_evasive mod for apache and mod_qos(more for centos users) for apache aswell.
He didnt ddos him. Try reading, he made sql injection and now he can change everything in database.
WOW, no ideas to prevent from that... any suggestions? It never happend to me but, youll never know..
My friend know how to make sql injectond defend,i'll ask him,you'll get that,not worry .
function clean($str) {
$cleaned = strip_tags($str);
$cleaned = htmlspecialchars(mysql_real_escape_string($cleaned));
return $cleaned;}
$database->clean($_POST[sommething]);
add to db_mysql.php and then call it like thisPHP:function clean($str) { $cleaned = strip_tags($str); $cleaned = htmlspecialchars(mysql_real_escape_string($cleaned)); return $cleaned;}
PHP:$database->clean($_POST[sommething]);
add to db_mysql.php and then call it like thisPHP:function clean($str) { $cleaned = strip_tags($str); $cleaned = htmlspecialchars(mysql_real_escape_string($cleaned)); return $cleaned;}
PHP:$database->clean($_POST[sommething]);
/**
* Copyright by Manuel Mannhardt < manuel_mannhardt@web.de >
* Skype: manuel.mannhardt
*/
function escape_pg() {
if($_POST) {
foreach($_POST AS $key => $value) {
if(is_array($value)) {
foreach($value AS $key2 => $value2) {
$_POST[$key2][$key2] = htmlspecialchars(mysql_escape_string($value2));
}
} else {
$_POST[$key] = htmlspecialchars(mysql_escape_string($value));
}
}
}
if($_GET) {
foreach($_GET AS $key => $value) {
$_GET[$key] = htmlspecialchars(mysql_escape_string($value));
}
}
}
Use the one of SlimShady95.
If you use cookies then you need to add $_COOKIE too.