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 $evalue = "PD8NCmluY2x1ZGUoImFkbWluY3AvY29uZmlnLmluYyIpOw0KaW5jbHVkZSAoImxhbmcucGhwI..

Decoded Output download

 ?>b'<?
include("admincp/config.inc");
include ("lang.php");

if(isset($_REQUEST["ItmID"])){
	$qrychk=mysql_query("select * from tbl_inq where sessid=\'".$sId."\' and itmid=\'".$_REQUEST["ItmID"]."\' and pArt=\'".$_REQUEST["txtano"]."\' and lngid=\'".$LngID."\' and instatus=\'p\'") or die(mysql_error());
	if(mysql_num_rows($qrychk)>0){
		$qry=mysql_query("update tbl_inq set qty=\'".$_REQUEST["txtqty"]."\',pSize=\'".$_REQUEST["txtsize"]."\',pArt=\'".$_REQUEST["txtano"]."\',pdetails=\'".$_REQUEST["txtdetails"]."\',pColor=\'".$_REQUEST["colorid"]."\' where sessid=\'$sId\' and itmid=\'".$_REQUEST["ItmID"]."\' and pArt=\'".$_REQUEST["txtano"]."\' and lngid=\'".$LngID."\'") or die("Invalid Values: " . mysql_error());

	}else{
	$qry=mysql_query("insert into tbl_inq(sessid,itmid,qty,instatus,pSize,pArt,pdetails,pColor,lngid) values(\'".$sId."\',\'".$_REQUEST["ItmID"]."\',\'".$_REQUEST["txtqty"]."\',\'p\',\'".$_REQUEST["txtsize"]."\',\'".$_REQUEST["txtano"]."\',\'".$_REQUEST["txtdetails"]."\',\'".$_REQUEST["colorid"]."\',\'".$LngID."\')") or die(mysql_error());

	
	}
	header(\'Location:basket.php?lng=\'.$LngID);
}


?>
'<?php 

Did this file decode correctly?

Original Code

<?php $evalue = "PD8NCmluY2x1ZGUoImFkbWluY3AvY29uZmlnLmluYyIpOw0KaW5jbHVkZSAoImxhbmcucGhwIik7DQoNCmlmKGlzc2V0KCRfUkVRVUVTVFsiSXRtSUQiXSkpew0KCSRxcnljaGs9bXlzcWxfcXVlcnkoInNlbGVjdCAqIGZyb20gdGJsX2lucSB3aGVy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VFU1RbInR4dGRldGFpbHMiXS4iJywnIi4kX1JFUVVFU1RbImNvbG9yaWQiXS4iJywnIi4kTG5nSUQuIicpIikgb3IgZGllKG15c3FsX2Vycm9yKCkpOw0KDQoJDQoJfQ0KCWhlYWRlcignTG9jYXRpb246YmFza2V0LnBocD9sbmc9Jy4kTG5nSUQpOw0KfQ0KDQoNCj8+DQo=";eval(" ?>".base64_decode($evalue) . "<?php ");

 ?>

Function Calls

base64_decode 1

Variables

$evalue PD8NCmluY2x1ZGUoImFkbWluY3AvY29uZmlnLmluYyIpOw0KaW5jbHVkZSAo..

Stats

MD5 ffa420a516bf95657181af6c14b8d666
Eval Count 1
Decode Time 45 ms