1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
<?php
/**
* This page displays an error message when we have detected referer spam.
*
* @todo EdB: per IRC with yabs, lets make these pages be containers
*
* @package templates
*/
if( !defined('QP_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
header('HTTP/1.0 403 Forbidden');
header('Content-Type: text/html; charset=iso-8859-1'); // no translation
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>403 Forbidden by referer spam blocker.</title>
</head>
<body>
<h1>403 Forbidden</h1>
<h2>You came from a URL that tripped my spam blocker :(</h2>
<p>You can <a href="<?php global $ReqURI; echo $ReqURI; ?>">bypass this message</a>
and leave us a comment if you think my spam blocker is wrong.</p>
</body>
</html>
<?php
exit(0); // this is NOT a crash - there should be no dying here
?>
|