Pastoid

The page you are looking at now is at this URL: http://pastoid.com/bm6

This paste was last updated on January 24, 2009 at 12:17 am.

Pasted Coderaw

<?php
/**
 * Handles Comment Post to WordPress and prevents duplicate comment posting.
 *
 * @package WordPress
 */
 
if ( 'POST' != $_SERVER['REQUEST_METHOD'] ) {
	header('Allow: POST');
	header('HTTP/1.1 405 Method Not Allowed');
	header('Content-Type: text/plain');
	exit;
}
 
$ips = array_reverse(explode('.', $_SERVER['REMOTE_ADDR']));
if (gethostbyname(join('.', $ips) . '.dnsbl.spam-champuru.livedoor.com') == '127.0.0.2') {
    die('Your IP Address has been Blacklisted!');
}
 
/** Sets up the WordPress Environment. */
require( dirname(__FILE__) . '/wp-load.php' );

Toggle wordwrap

Referring DomainHits
Unknown Referer 127
pastoid.com 17
search.live.com 3
Is this paste spam?
<Hide