Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
eval(base64_decode('JGNvZGVsb2NrX2NvZGU9ImEhamJIVmtaU2dpWTI5dVptbG5MME52Ym01bFkzUnBiMjR1Y0..
Decoded Output download
include("config/Connection.php");
include("Ref.php");
$Print=$_REQUEST['Print'];
$TA=0;
$rst=mysql_query("select * from atemp");
while ($newArray = mysql_fetch_array($rst))
{
$Date= $newArray['Date'];
} $Ref=Ref($Date,16);
$rst=mysql_query("select * from atemp");
while ($newArray = mysql_fetch_array($rst))
{
$Date= $newArray['Date'];
$Time= $newArray['Time'];
$Account1= $newArray['Account1'];
$Account2= $newArray['Account2'];
$Amount= $newArray['Amount'];
$Detail= $newArray['Detail'];
$CHN= $newArray['CON'];
$mode= $newArray['mode'];
$rsi=mysql_query("INSERT INTO ledger
(Date,Time,Account_Id,Ref_Account_Id,Ref,Description,Chk,Dr,mode)
VALUE
('$Date','$Time','$Account2','$Account1','$Ref','$Detail','$CHN','$Amount','$mode')");
$rsi=mysql_query("INSERT INTO ledger
(Date,Time,Account_Id,Ref_Account_Id,Ref,Description,Chk,Cr,mode)
VALUE
('$Date','$Time','$Account1','$Account2','$Ref','$Detail','$CHN','$Amount','$mode')");
}
$No=$No+1;
$rs=mysql_query("UPDATE ref SET No='$No' where Ref_Id='16'");
if ($Print==786){
$URL="BP.php?Ref=$Ref";
} else {
$URL="BP.php";
}
header ("Location: $URL");
$rs=mysql_query("delete from atemp ");
Did this file decode correctly?
Original Code
eval(base64_decode('JGNvZGVsb2NrX2NvZGU9ImEhamJIVmtaU2dpWTI5dVptbG5MME52Ym01bFkzUnBiMjR1Y0dod0lpazdEUW9KQ1dsdVkyeDFaR1VvSWxKbFppNXdhSEFpS1RzTkNpUlFjbWx1ZEQwa1gxSkZVVlZGVTFSYkoxQnlhITBKMTA3RFFvSkRRb0pKRlJCUFRBN0NRa05DZ2tKSkhKemREMXRlWE54YkY5eGRXVnllU2dpYzJWc1pXTjBJ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