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='P2lCP1ouWg1WOU1Bc0hNOSgnb0ZwS21GVHQnKT43Zz5NUnM9KCdFTz45c3pNMj0+bj..

Decoded Output download

$_X=base64_decode($_X);$_X=strtr($_X,'SgPO9YZWFKmqyfxcjLJRzuM5vNts1b.{B4nC]i/2Dl0EheA
[d8=Qp>VXo H}6GIw7ka3TrU<','=R9odmplAEPyk8gv[53xrMezqZHi7YhW<DsG{>CcX}1N/afj6]JtuS 
.BUnwVKLQO20ITF4b');$_R=str_replace('__FILE__',"'".$_F."'",$_X);eval($_R);$_R=0;$_X=0;?><?php
defined('BASEPATH') OR exit('No direct script access allowed');

class Countymodel extends CI_Model {




function addnewcounty($data)
{
// Query to insert data in database
  //$regnumber = $data['regnumber'];
  
    $this->db->insert('county', $data);
  if ($this->db->affected_rows() > 0) 
      {
  return true;

      }


   else

   {

     return false;

   }


}
function getcountybyid($id){


$this->db->select(" * from  county where code= '$id'");

 $this->db->order_by('id');
$bioquery = $this -> db -> get();
if($bioquery->num_rows()>0){

   return $bioquery->result();
   


}else{

  return false;
}




}
   





function getspecificcountybyid($id){


$this->db->select(" * from  county where code= '$id'");

 $this->db->order_by('id');
$bioquery = $this -> db -> get();
if($bioquery->num_rows()>0){

   return $bioquery->result_array();
   


}else{

  return false;
}




}





   
 function populatecounty()
 

{


   $query1 = $this->db->get('county');
       
 if($query1 -> num_rows() >0)

   {
  return $query1->result();

   }

   else

   {

     return false;

   }

}




}

Did this file decode correctly?

Original Code

<?php $_F=__FILE__;$_X='P2lCP1ouWg1WOU1Bc0hNOSgnb0ZwS21GVHQnKT43Zz5NUnM9KCdFTz45c3pNMj0+bjJ6c1o9PmUyMk1ubj5lV1dPfU05Jyk7DVYNVjJXZW5uPi9PUUg9cVlPOU1XPk1SPU1IOW4+LzNfdU85TVc+XQ1WDVYNVg1WDVZBUUgyPXNPSD5lOTlITX0yT1FI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g1WbE1Xbk1dDVYNVj4+ek09UXpIPkFlV25NOw1WbA1WDVYNVg1WDVZsDVYNVg1WDVYNVg1WPj4+DVY+QVFIMj1zT0g+Wk9aUVdlPU0yT1FIPXEoKQ1WPg1WDVZdDVYNVg1WPj4+JHZRTXpxMD5TPiQ9LnNuLWk5PC1peE09KCcyT1FIPXEnKTsNVj4+Pj4+Pj4NVj5zQSgkdlFNenEwPi1pPkhRWV96T31uKCk+aWEpDVYNVj4+Pl0NVj4+ek09UXpIPiR2UU16cTAtaXpNblFXPSgpOw1WDVY+Pj5sDVYNVj4+Pk1Xbk0NVg1WPj4+XQ1WDVY+Pj4+PnpNPVF6SD5BZVduTTsNVg1WPj4+bA1WDVZsDVYNVg1WDVYNVmw=';$_D=strrev('edoced_46esab');eval($_D('JF9YPWJhc2U2NF9kZWNvZGUoJF9YKTskX1g9c3RydHIoJF9YLCdTZ1BPOVlaV0ZLbXF5ZnhjakxKUnp1TTV2TnRzMWIue0I0bkNdaS8yRGwwRWhlQQpbZDg9UXA+VlhvIEh9NkdJdzdrYTNUclU8JywnPVI5b2RtcGxBRVB5azhndls1M3hyTWV6cVpIaTdZaFc8RHNHez5DY1h9MU4vYWZqNl1KdHVTIAouQlVud1ZLTFFPMjBJVEY0YicpOyRfUj1zdHJfcmVwbGFjZSgnX19GSUxFX18nLCInIi4kX0YuIiciLCRfWCk7ZXZhbCgkX1IpOyRfUj0wOyRfWD0wOw='));?>

Function Calls

strtr 1
strrev 1
defined 1
str_replace 1
base64_decode 2

Variables

$_D base64_decode
$_F index.php
$_R ?><?php defined('BASEPATH') OR exit('No direct script acces..
$_X ?><?php defined('BASEPATH') OR exit('No direct script acces..

Stats

MD5 06cd762df5aa9f38b2bc48995a2d5883
Eval Count 2
Decode Time 69 ms