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("PGh0bWw+DQo8P3BocA0KcmVxdWlyZSAoJ2RiLnBocCcpOw0KICAgICAgIA..
Decoded Output download
?>b'<html>
<?php
require (\'db.php\');
//$db_handle = new DBController();
if(!empty($_POST["d_id"])) {
$query ="SELECT * FROM district WHERE state_id = \'" . $_POST["d_id"] . "\'";
//$results = $db_handle->runQuery($query);
?>
<option value="">Select District</option>
<?php
$result= mysqli_query($conn,$query)or die (mysql_error());
while($row=mysqli_fetch_array ($result) )
{
echo "<option value=\'".$row[\'district_id\']."\'>".$row[\'district_name\']."</option>";
}
}
?>
</html>
'
Did this file decode correctly?
Original Code
<?php @eval("?>".base64_decode("PGh0bWw+DQo8P3BocA0KcmVxdWlyZSAoJ2RiLnBocCcpOw0KICAgICAgIA0KDQovLyRkYl9oYW5kbGUgPSBuZXcgREJDb250cm9sbGVyKCk7DQppZighZW1wdHkoJF9QT1NUWyJkX2lkIl0pKSB7DQoJJHF1ZXJ5ID0iU0VMRUNUICogRlJPTSBkaXN0cmljdCBXSEVSRSBzdGF0ZV9pZCA9ICciIC4gJF9QT1NUWyJkX2lkIl0gLiAiJyI7DQoJLy8kcmVzdWx0cyA9ICRkYl9oYW5kbGUtPnJ1blF1ZXJ5KCRxdWVyeSk7DQo/Pg0KCTxvcHRpb24gdmFsdWU9IiI+U2VsZWN0IERpc3RyaWN0PC9vcHRpb24+DQo8P3BocA0KCSRyZXN1bHQ9IG15c3FsaV9xdWVyeSgkY29ubiwkcXVlcnkpb3IgZGllIChteXNxbF9lcnJvcigpKTsNCiAgICAgICAgICAgICAgICAgICAgICAgIHdoaWxlKCRyb3c9bXlzcWxpX2ZldGNoX2FycmF5ICgkcmVzdWx0KSApDQogICAgICAgICAgICAgICAgICAgICAgICB7DQogICAgICAgICAgICAgICAgICAgICAgICAgICBlY2hvICI8b3B0aW9uIHZhbHVlPSciLiRyb3dbJ2Rpc3RyaWN0X2lkJ10uIic+Ii4kcm93WydkaXN0cmljdF9uYW1lJ10uIjwvb3B0aW9uPiI7DQogICAgICAgICAgICAgICAgICAgICAgICB9IA0KCX0NCg0KPz4NCiAgICAgICAgDQoNCjwvaHRtbD4NCg=="));//Generated by Ampare PHP Encoder. For more security please use php protect before encode the php program
Function Calls
base64_decode | 1 |
Stats
MD5 | e4a8eb58e88ca3514c7d82224dd164a5 |
Eval Count | 1 |
Decode Time | 67 ms |