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 eval(gzinflate(base64_decode('1VNdj9owEHwGif9gWUgJUknu2jcOqE4qah+rlqoPgQbX2SS+Jjhnmy..

Decoded Output download


include("config.php");
$eventid = $_GET['eventid'];
$actual = "<div id=\"actual_".$eventid."\"><a onclick=\"actual(".$eventid.");\"  href=\"javascript:void();\"><img src=\"images/calendar_tool_refresh.gif\" border=\"0\"></a></div>";

$contents = file_get_contents("http://www.forexfactory.com/ajax_actual.php?eventid=".$eventid);

$hastActual = explode("multipart-events--",$contents);
if ( $hastActual[1] <> "" ) {
	$temp1 = explode($eventid.":",$contents);
	$temp2 = explode("[",$temp1[1]);
								
	$temp3 = explode("]",$temp1[1]);
	$effect = $temp3[1];
	
	$actual = $temp2[0];
	if ( $actual <> "") {
		$query = mysql_query("UPDATE `calender` SET `actual`='".$actual."[^]".$effect."' WHERE `code`='".$eventid."'");
		$actual = "<div class=\"actual".$effect."\">".$actual."</div>";
		//echo $actual;
	} else {
		$actual = "<div id=\"actual_".$eventid."\"><a onclick=\"actual(".$eventid.");\"  href=\"javascript:void();\"><img src=\"images/calendar_tool_refresh.gif\" border=\"0\"></a></div>";
		//echo $actual;
	}
} else {
	$actual = "<div id=\"actual_".$eventid."\"><a onclick=\"actual(".$eventid.");\"  href=\"javascript:void();\"><img src=\"images/calendar_tool_refresh.gif\" border=\"0\"></a></div>";
	//echo $actual;
}

echo $actual;
//echo $contents;

Did this file decode correctly?

Original Code

<?php eval(gzinflate(base64_decode('1VNdj9owEHwGif9gWUgJUknu2jcOqE4qah+rlqoPgQbX2SS+Jjhnmy+d7r93HSchov0Dh8QDM7O7M8t6NBR7XhwS8CmX+1RkQZVXdPIwGo7hCHsjErIg4/jzah15DeBtLcu4ObACSTpPxJGIZLGhDotp0NYGdEOXc0YkzhD8Tyfx+5LJw4YSkitIkX9iR6a5EpWZHaVIfEsu56LMiFYceVGyDHTIWQH7hKnYSFnEWKpA50EmUmz1W6oEFGrvbGnI8IsOlxRdo29MaXCwRuepKCDOwMQt5tPcmGoWhqfTKUilgnOKfqW6BFyWIXti59j5t0v62ARYXLNM3IicafPYrgfOVSHtestDYUTFlJnWaj2d0nedG1spUuKTXnF0vyXzJaGUTMjLaDgYGyir+17L6wpnN62c9n1/fISSugG2rSXNpxV/6Iu3t+IxpClwY2+hFiNuYct0h+BmRnc148I0XJ3ChRiMnw+gLigvL/q5iOtfPv3x9dPjekV27n8FtSPfV2uyc/W7hYc7bjZPo19bu/HaT0A98vPL6putRONO2G3Foy7o7a3ygmnd3WKvGd5Lb9D1bAaDMASeyzaQhV4JFBqaTG/yMfw31WjYC/ZGc/0T69U+yxusFbXPBqG/'))); ?> 

Function Calls

gzinflate 1
base64_decode 1

Variables

None

Stats

MD5 7948c0344eff136586a7e7fa7271b1bf
Eval Count 1
Decode Time 77 ms