b2evolution PHP Cross Reference Blogging Systems

Source: /skins/_403_referer_spam.main.php - 35 lines - 1587 bytes - Text - Print

Description: This page displays an error message when we have detected referer spam.

   1  <?php
   2  /**
   3   * This page displays an error message when we have detected referer spam.
   4   *
   5   * @package evocore
   6   */
   7  if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
   8  
   9  // fp>vitaliy  move HTTP/1.0  into header_http_response('')
  10  header_http_response('403 Forbidden');
  11  header('Content-Type: text/html; charset=iso-8859-1'); // no translation
  12  
  13  ?>
  14  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  15  <html xmlns="http://www.w3.org/1999/xhtml">
  16      <head>
  17          <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  18          <title>403 Forbidden - Please stop referer spam.</title>
  19      </head>
  20      <body>
  21          <h1>403 Forbidden</h1>
  22          <h2>Please stop referer spam.</h2>
  23          <p>We have identified that you have been refered here by a known or supposed spammer.</p>
  24          <p>If you feel this is an error, please <a href="<?php global $ReqURI; echo $ReqURI; ?>">bypass this message</a>
  25          and leave us a comment about the error. We are sorry for the inconvenience.</p>
  26          <p>If you are actually doing referer spam, please note that this website/<?php global $app_name; echo $app_name; ?> no longer records and publishes referers. Not even legitimate ones!
  27          While we understand it was fun for you guys while it lasted, please understand our servers cannot take the load of
  28          all this cumulated spam any longer... Thank you.</p>
  29          <p>Also, please note that comment/trackback submitted URLs will be tagged with rel="nofollow" in order to be ignored by search engines.</p>
  30      </body>
  31  </html>
  32  <?php
  33      exit(0);
  34  
  35  ?>

title

Description

title

Description

title

Description

title

title

Body