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 $_F=__FILE__;$_X='P0NxP0VdRVskXzViX181MGpjX187JF8uYidKTmxdSm42UDl1QmEuM1VnLnU2WTlGPj..

Decoded Output download

?><!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>Untitled Document</title>
</head>

<body>
<?php
    $objConnect = mysql_connect("localhost","cad_account","cad_admin") or die("Error Connect to Database");
	$objDB = mysql_select_db("cad_memdata");
	mysql_query("SET character_set_results=tis620");
	mysql_query("SET character_set_client=tis620");
	mysql_query("SET character_set_connection=tis620");
	
$SQL1 = "SELECT  t_contract.contractid FROM t_contract ";
    $objQuery = mysql_query($SQL1) or die ("Error Query [".$SQL1."]");
	while($objResult= mysql_fetch_array($objQuery)){
    $contract = $objResult['contractid'];
	//echo $contract;
	}
   
$SQL2 = "SELECT t_contract_due.duedate2
FROM t_contract_due
WHERE contractid='$contract' AND t_contract_due.isstatus='W' AND t_contract_due.duedate2 <='2022-06-30'
		ORDER BY duedate2 ASC LIMIT 0,1";
    $objQuery2 = mysql_query($SQL2) or die ("Error Query [".$SQL2."]");
	while($objResult2= mysql_fetch_array($objQuery2)){
    $duedate = $objResult2['duedate2'];
    echo $duedate;
}
?>
</body>
</html>

Did this file decode correctly?

Original Code

<?php $_F=__FILE__;$_X='P0NxP0VdRVskXzViX181MGpjX187JF8uYidKTmxdSm42UDl1QmEuM1VnLnU2WTlGPj4udXQvPjU2SW89ci9MbnRROUZdWDlIXVF4Ll00Mms1L01BXWlWPDhEZEljCmQgTUFva2MrMm4zQTJZdU5WPDBYd2NdUEpkZHdVbns8MjRjdHg3Pj5MbnJEZ2E2Tkx1TTl7azVEeEFaaUpJey5WY3J9TUZyREoucmtvSHJoR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4UHY8IH02WHV5WWVzW1RaZ2tXCjlhUTIvN0xpRl1sSXJLcEhTMHFSRHcue0J0akNuPlYzZlVNbWNPNEpFJywnPWl6L1EzdGZdYVZGc3VtbkdyOXYxNURvcSAuZ0NVWXdia0tlN2pjeVdoQmxkNgpUe0k8QTRPWFJNOEw+MkpTMHhOWltFfUhQcCcpOyRfUj1lcmVnX3JlcGxhY2UoJ19fRklMRV9fJywiJyIuJF9GLiInIiwkX1gpO2V2YWwoJF9SKTskX1I9MDskX1g9MDs='));?>

Function Calls

strtr 3
strrev 3
ereg_replace 3
base64_decode 6

Variables

$_D base64_decode
$_F index.php
$_R 0
$_X 0

Stats

MD5 b2ad0aa721efa391125863a763e005ff
Eval Count 6
Decode Time 111 ms