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(base64_decode('DQpzZXNzaW9uX3N0YXJ0KCk7DQovL2RhdGVfZGVmYXVsdF90aW1lem9uZV9zZXQo..
Decoded Output download
session_start();
//date_default_timezone_set('Asia/Calcutta');
include ("db/db_connect.php");
include ("includes/loginverify.php");
$updatedatetime = date("Y-m-d H:i:s");
$indiandatetime = date ("d-m-Y H:i:s");
$dateonly = date("Y-m-d");
$username = $_SESSION["username"];
$ipaddress = $_SERVER["REMOTE_ADDR"];
$companyanum = $_SESSION["companyanum"];
$companyname = $_SESSION["companyname"];
$financialyear = $_SESSION["financialyear"];
$titlestr = 'SALES BILL';
include ("login1salesdataredirect1.php");
//to redirect if there is no entry in masters category or item or customer or settings
$query91 = "select count(auto_number) as masterscount from settings_bill where companyanum = '$companyanum'";
$exec91 = mysql_query($query91) or die ("Error in Query91".mysql_error());
$res91 = mysql_fetch_array($exec91);
$res91count = $res91["masterscount"];
if ($res91count == 0)
{
header ("location:settingsbill1.php?svccount=firstentry");
exit;
}
//To get default tax from autoitemsearch1.php and autoitemsearch2.php - for CST tax override.
if (isset($_REQUEST["defaulttax"])) { $defaulttax = $_REQUEST["defaulttax"]; } else { $defaulttax = ""; }
//$defaulttax = $_REQUEST["defaulttax"];
if ($defaulttax == '')
{
$_SESSION["defaulttax"] = '';
}
else
{
$_SESSION["defaulttax"] = $defaulttax;
}
//This include updatation takes too long to load for hunge items database.
include ("autocompletebuild_customer1.php");
//To populate the autocompetelist_services1.js
include ("autocompletebuild_item1.php");
//To verify the edition and manage the count of bills.
$thismonth = date('Y-m-');
$query77 = "select * from master_edition where status = 'ACTIVE'";
$exec77 = mysql_query($query77) or die ("Error in Query77".mysql_error());
$res77 = mysql_fetch_array($exec77);
$res77allowed = $res77["allowed"];
$query88 = "select count(auto_number) as cntanum from master_sales";// where lastupdate like '$thismonth%'";
$exec88 = mysql_query($query88) or die ("Error in Query88".mysql_error());
$res88 = mysql_fetch_array($exec88);
$res88cntanum = $res88["cntanum"];
/*
$query99 = "select count(auto_number) as cntanum from master_quotation where quotationdate like '$thismonth%'";
$exec99 = mysql_query($query99) or die ("Error in Query99".mysql_error());
$res99 = mysql_fetch_array($exec99);
$res99cntanum = $res99["cntanum"];
$totalbillandquote = $res88cntanum + $res99cntanum; //total of bill and quote in current month.
if ($totalbillandquote > $res77allowed)
{
//header ("location:usagelimit1.php"); // redirecting.
//exit;
}
*/
//To Edit Bill
if (isset($_REQUEST["delbillst"])) { $delbillst = $_REQUEST["delbillst"]; } else { $delbillst = ""; }
//$delbillst = $_REQUEST["delbillst"];
if (isset($_REQUEST["delbillautonumber"])) { $delbillautonumber = $_REQUEST["delbillautonumber"]; } else { $delbillautonumber = ""; }
//$delbillautonumber = $_REQUEST["delbillautonumber"];
if (isset($_REQUEST["delbillnumber"])) { $delbillnumber = $_REQUEST["delbillnumber"]; } else { $delbillnumber = ""; }
//$delbillnumber = $_REQUEST["delbillnumber"];
if (isset($_REQUEST["frm1submit1"])) { $frm1submit1 = $_REQUEST["frm1submit1"]; } else { $frm1submit1 = ""; }
//$frm1submit1 = $_REQUEST["frm1submit1"];
if ($frm1submit1 == 'frm1submit1')
{
$delbillst = $_REQUEST["delbillst"];
$delbillstanum = $_REQUEST["delbillautonumber"];
$delbillnumber = $_REQUEST["delbillnumber"];
//if ($delbillst == 'billedit' && $delbillstanum != '' && $delbillnumber != '')
if ($delbillst == 'billedit' && $delbillnumber != '')
{
//$query19 = "select auto_number,lastupdate from master_sales where auto_number = '$delbillautonumber' and billnumber = '$delbillnumber' and companyanum = '$companyanum' and recordstatus <> 'DELETED'";
$query19 = "select auto_number,lastupdate from master_sales where billnumber = '$delbillnumber' and companyanum = '$companyanum' and financialyear = '$financialyear'";
$exec19 = mysql_query($query19) or die ("Error in Query19".mysql_error());
while ($res19 = mysql_fetch_array($exec19))
{
$res19anum = $res19["auto_number"];
$billdatetime=$res19["updatedate"];
//$query15 = "update master_sales set recordstatus = 'DELETED' where auto_number = '$res19anum' and companyanum = '$companyanum'";
$query15 = "update master_sales set recordstatus = 'DELETED' where billnumber = '$delbillnumber' and companyanum = '$companyanum' and financialyear = '$financialyear'";
$exec15 = mysql_query($query15) or die ("Error in Query15".mysql_error());
//$query16 = "update sales_details set recordstatus = 'DELETED' where bill_autonumber = '$res19anum' and companyanum = '$companyanum'";
$query16 = "update sales_details set recordstatus = 'DELETED' where billnumber = '$delbillnumber' and companyanum = '$companyanum' and financialyear = '$financialyear'";
$exec16 = mysql_query($query16) or die ("Error in Query16".mysql_error());
//$query17 = "update sales_tax set recordstatus = 'DELETED' where bill_autonumber = '$res19anum' and companyanum = '$companyanum'";
$query17 = "update sales_tax set recordstatus = 'DELETED' where billnumber = '$delbillnumber' and companyanum = '$companyanum' and financialyear = '$financialyear'";
$exec17 = mysql_query($query17) or die ("Error in Query17".mysql_error());
//$query18 = "update master_transaction set recordstatus = 'DELETED' where billanum = '$res19anum' and companyanum = '$companyanum'";
$query18 = "update master_transaction set recordstatus = 'DELETED' where billnumber = '$delbillnumber' and companyanum = '$companyanum' and financialyear = '$financialyear'";
$exec18 = mysql_query($query18) or die ("Error in Query18".mysql_error());
$query20="update master_stock set recordstatus='DELETED' where transactionmodule = 'SALES' and billnumber = '$delbillnumber' and companyanum = '$companyanum' and financialyear = '$financialyear'";
$exec20=mysql_query($query20) or die("Error in Query19".mysql_error());
}
}
}
include ("sales1include1.php"); //handles all the sales insert operations
if (isset($_REQUEST["st"])) { $st = $_REQUEST["st"]; } else { $st = ""; }
//$st = $_REQUEST["st"];
if (isset($_REQUEST["banum"])) { $banum = $_REQUEST["banum"]; } else { $banum = ""; }
//$banum = $_REQUEST["banum"];
if ($st == '1')
{
$errmsg = "Success. New Bill Updated. You May Continue To Add Another Bill.";
$bgcolorcode = 'success';
}
if ($st == '2')
{
$errmsg = "Failed. New Bill Cannot Be Completed.";
$bgcolorcode = 'failed';
}
if ($st == '1' && $banum != '')
{
$loadprintpage = 'onLoad="javascript:loadprintpage1()"';
}
if ($delbillst == "" && $delbillnumber == "")
{
$res41customername = "";
$res41customercode = "";
$res41tinnumber = "";
$res41cstnumber = "";
$res41address1 = "";
$res41deliveryaddress = "";
$res41area = "";
$res41city = "";
$res41pincode = "";
$res41billdate = "";
$res41mobilenumber = "";
$billnumberprefix = "";
$billnumberpostfix = "";
}
if ($delbillst == 'billedit' && $delbillnumber != '')
{
$query41 = "select * from master_sales where billnumber = '$delbillnumber' and companyanum = '$companyanum' and financialyear = '$financialyear' and recordstatus <> 'deleted'";
$exec41 = mysql_query($query41) or die ("Error in Query41".mysql_error());
$res41 = mysql_fetch_array($exec41);
$res41customername = $res41["customername"];
$res41customercode = $res41["customercode"];
$res41tinnumber = $res41["tinnumber"];
$res41cstnumber = $res41["cstnumber"];
$res41address1 = $res41["address"];
$res41area = $res41["location"];
$res41city = $res41["city"];
$res41pincode = $res41["pincode"];
$res41mobilenumber = $res41['phone'];
$res41billdate = $res41["billdate"];
$res41billdate = substr($res41billdate, 0, 10);
$dateonly = $res41billdate;
$billnumberprefix = $res41["billnumberprefix"];
$billnumberpostfix = $res41["billnumberpostfix"];
$res41deliveryaddress = $res41["deliveryaddress"];
}
if ($delbillst == 'importsalesorder' && $delbillnumber != '')
{
$query41 = "select * from master_salesorder where billnumber = '$delbillnumber' and companyanum = '$companyanum' and recordstatus <> 'deleted'";
$exec41 = mysql_query($query41) or die ("Error in Query41".mysql_error());
$res41 = mysql_fetch_array($exec41);
$res41customername = $res41["customername"];
$res41customercode = $res41["customercode"];
$res41tinnumber = $res41["tinnumber"];
$res41cstnumber = $res41["cstnumber"];
$res41address1 = $res41["address"];
$res41area = $res41["location"];
$res41city = $res41["city"];
$res41pincode = $res41["pincode"];
//$res41billdate = $res41["billdate"];
//$res41billdate = substr($res41billdate, 0, 10);
//$dateonly = $res41billdate;
//$billnumberprefix = $res41["billnumberprefix"];
//$billnumberpostfix = $res41["billnumberpostfix"];
$res41deliveryaddress = $res41["deliveryaddress"];
}
$query2 = "select * from settings_bill where companyanum = '$companyanum'";
$exec2 = mysql_query($query2) or die ("Error in Query2".mysql_error());
$res2 = mysql_fetch_array($exec2);
$f18=$res2["f18"];
$f19=$res2["f19"];
$f21=$res2["f21"];
$f22=$res2["f22"];
$billnumberprefix = $res2["billnumberprefix"];
$billnumberprefix = strtoupper($billnumberprefix);
$billnumberprefix = trim($billnumberprefix);
$billnumberpostfix = $res2["billnumberpostfix"];
$billnumberpostfix = strtoupper($billnumberpostfix);
$billnumberpostfix = trim($billnumberpostfix);
Did this file decode correctly?
Original Code
<?php eval(base64_decode('DQpzZXNzaW9uX3N0YXJ0KCk7DQovL2RhdGVfZGVmYXVsdF90aW1lem9uZV9zZXQoJ0FzaWEvQ2FsY3V0dGEnKTsNCmluY2x1ZGUgKCJkYi9kYl9jb25uZWN0LnBocCIpOw0KaW5jbHVkZSAoImluY2x1ZGVzL2xvZ2ludmVyaWZ5LnBocCIpOw0KJHVwZGF0ZWRhdGV0aW1lID0gZGF0ZSgiWS1tLWQgSDppOnMiKTsNCiRpbmRpYW5kYXRldGltZSA9IGRhdGUgKCJkLW0tWSBIOmk6cyIpOw0KJGRhdGVvbmx5ID0gZGF0ZSgiWS1tLWQiKTsNCiR1c2VybmFtZSA9ICRfU0VTU0lPTlsidXNlcm5hbWUiXTsNCiRpcGFkZHJlc3MgPSAkX1NFUlZFUlsiUkVNT1RFX0FERFIiXTsNCiRjb21wYW55YW51bSA9ICRfU0VTU0lPTlsiY29tcGFueWFudW0iXTsNCiRjb21wYW55bmFtZSA9ICRfU0VTU0lPTlsiY29tcGFueW5hbWUiXTsNCiRmaW5hbmNpYWx5ZWFyID0gJF9TRVNTSU9OWyJmaW5hbmNpYWx5ZWFyIl07DQoNCiR0aXRsZXN0ciA9ICdTQUxFUyBCSUxMJzsNCg0KaW5jbHVkZSAoImxvZ2luMXNhbGVzZGF0YXJlZGlyZWN0MS5waHAiKTsNCg0KLy90byByZWRpcmVjdCBpZiB0aGVyZSBpcyBub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0oJGJpbGxudW1iZXJwcmVmaXgpOw0KDQokYmlsbG51bWJlcnBvc3RmaXggPSAkcmVzMlsiYmlsbG51bWJlcnBvc3RmaXgiXTsNCiRiaWxsbnVtYmVycG9zdGZpeCA9IHN0cnRvdXBwZXIoJGJpbGxudW1iZXJwb3N0Zml4KTsNCiRiaWxsbnVtYmVycG9zdGZpeCA9IHRyaW0oJGJpbGxudW1iZXJwb3N0Zml4KTsNCg0KDQo=')); ?>
Function Calls
base64_decode | 1 |
Stats
MD5 | c9176d6c6327a97466141dac3762e855 |
Eval Count | 1 |
Decode Time | 106 ms |