Gốc > Code cho Blog và Web >
Cao Bằng @ 21:27 13/08/2009
Số lượt xem: 756
Code chống DDOS
<?php
//echo "<pre>";
//print_r($_SERVER);
if (!isset($_SERVER['HTTP_REFERER']))
{
// print error message
die( "
<html>
<head>
<title>[C.S.C.D] Clan ¹¹³</title>
</head>
<body style='background-color:black;color:white'>
<center><br/><br/><br/><br/><br/>
CLICK HERE PLEASE<br/>
<a style='color:yellow' href='{$_SERVER['REQUEST_URI']}'>http://{$_SERVER['SERVER_NAME']}{$_SERVER['REQUEST_URI']}</a>
</center>
</body>
</html>
");
}
?>
//echo "<pre>";
//print_r($_SERVER);
if (!isset($_SERVER['HTTP_REFERER']))
{
// print error message
die( "
<html>
<head>
<title>[C.S.C.D] Clan ¹¹³</title>
</head>
<body style='background-color:black;color:white'>
<center><br/><br/><br/><br/><br/>
CLICK HERE PLEASE<br/>
<a style='color:yellow' href='{$_SERVER['REQUEST_URI']}'>http://{$_SERVER['SERVER_NAME']}{$_SERVER['REQUEST_URI']}</a>
</center>
</body>
</html>
");
}
?>
Cao Bằng @ 21:27 13/08/2009
Số lượt xem: 756
Số lượt thích:
0 người
 
- code thông tin chi tiết trình duyệt (13/08/09)
- Code Calendar đẹp (13/08/09)
- Code ngày tháng (13/08/09)
- Code chọn màu cho web (13/08/09)
- 1 số code nhạc nền hay cho blog (13/08/09)
Bài viết mới nhất