Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php if ( isset($_SERVER['HTTP_X_REQUESTED_WITH']) && strtolower($_SERVER['HTTP_X_REQU..

Decoded Output download

<?php 
 
if ( isset($_SERVER['HTTP_X_REQUESTED_WITH']) && strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) === 'xmlhttprequest' ) { 
	error_reporting(0); 
	while(@ob_end_clean()); 
	if ( sizeof( $errors ) > 0 ) { 
		echo "<div class=\"error below-h2 fade wphttps-message\" id=\"message\">
	<ul>
"; 
		foreach ( $errors as $error ) { 
			echo "		<li><p>".$error."</p></li>
"; 
		} 
		echo "	</ul>
</div>
"; 
	} else { 
		echo "<div class=\"updated below-h2 fade wphttps-message\" id=\"message\"><p>" . $message . "</p></div>
"; 
		if ( $logout || $reload ) { 
			echo "<script type=\"text/javascript\">window.location.reload();</script>"; 
		} 
	} 
	exit(); 
} ?>

Did this file decode correctly?

Original Code

<?php

if ( isset($_SERVER['HTTP_X_REQUESTED_WITH']) && strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) === 'xmlhttprequest' ) {
	error_reporting(0);
	while(@ob_end_clean());
	if ( sizeof( $errors ) > 0 ) {
		echo "<div class=\"error below-h2 fade wphttps-message\" id=\"message\">\n\t<ul>\n";
		foreach ( $errors as $error ) {
			echo "\t\t<li><p>".$error."</p></li>\n";
		}
		echo "\t</ul>\n</div>\n";
	} else {
		echo "<div class=\"updated below-h2 fade wphttps-message\" id=\"message\"><p>" . $message . "</p></div>\n";
		if ( $logout || $reload ) {
			echo "<script type=\"text/javascript\">window.location.reload();</script>";
		}
	}
	exit();
}

Function Calls

strtolower 1

Variables

None

Stats

MD5 0d0481d2eda41be9e4ede1d8c93b3908
Eval Count 0
Decode Time 208 ms