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 session_start(); require_once ("connection.php"); $result = $con->query("SELECT * ..

Decoded Output download

<?php session_start(); 
require_once ("connection.php"); 
$result = $con->query("SELECT * FROM tb_system WHERE idsystem = 1"); 
$system = $result->fetch_assoc();; 
echo ' <html lang="en"> 
  <head> 
    <meta charset="utf-8"> 
    <title>&#3619;&#3632;&#3610;&#3610;&#3614;&#3636;&#3617;&#3614;&#3660;&#3648;&#3585;&#3637;&#3618;&#3619;&#3605;&#3636;&#3610;&#3633;&#3605;&#3619;&#3629;&#3629;&#3609;&#3652;&#3621;&#3609;&#3660; - '; 
echo $system["nameschool"];; 
echo '</title> 
    <link rel="shortcut icon" type="image/x-icon" href="img/icon.jpg" /> 
    <link href="css/bootstrap.css" rel="stylesheet"> 
	<link href="https://fonts.googleapis.com/css?family=Sarabun&display=swap" rel="stylesheet"> 
    <link rel="stylesheet" href="css/datatables.css"> 
    <link href="css/pricing.css" rel="stylesheet"> 
    <link href="css/fontawesome-free/css/all.min.css" rel="stylesheet" type="text/css"> 
  </head> 
  <body> 
<div class="container-fluid"> 
'; 
require_once ("header.php");; 
echo '  
  <div class="card-deck mb-1"> 
    <div class="card mb-4 shadow-sm"> 
      <div class="card-header bg-info text-white"> 
        <h5 class="my-1"><i class="fa fa-book-reader"></i> &#3604;&#3634;&#3623;&#3609;&#3660;&#3650;&#3627;&#3621;&#3604;&#3648;&#3585;&#3637;&#3618;&#3619;&#3605;&#3636;&#3610;&#3633;&#3605;&#3619;&#3651;&#3609;&#3588;&#3629;&#3617;&#3614;&#3636;&#3623;&#3648;&#3605;&#3629;&#3619;&#3660;&#3648;&#3607;&#3656;&#3634;&#3609;&#3633;&#3657;&#3609; (&#3627;&#3634;&#3585;&#3651;&#3594;&#3657;&#3650;&#3607;&#3619;&#3624;&#3633;&#3614;&#3607;&#3660;&#3617;&#3639;&#3629;&#3606;&#3639;&#3629;&#3651;&#3627;&#3657;&#3648;&#3611;&#3636;&#3604;&#3604;&#3657;&#3623;&#3618; Google Chrome)</h5> 
      </div> 
      <div class="card-body"> 
        <div class="row"> 
            <div class="col-sm-4"> 
    '; 
$select = "SELECT DISTINCT DATE_FORMAT(datetimework, '%Y') AS datework FROM tb_project"; 
$resultuser = $con->query($select);; 
echo '               
               <p>&#3586;&#3633;&#3657;&#3609;&#3605;&#3629;&#3609;&#3607;&#3637;&#3656; 1 - &#3648;&#3621;&#3639;&#3629;&#3585;&#3611;&#3637; &#3614;.&#3624;.</p> 
               <div id="load_project">  
                <select class="custom-select" name="datework" id="datework"> 
                <option value="0">&#3648;&#3621;&#3639;&#3629;&#3585;&#3611;&#3637; &#3614;.&#3624;.</option> 
                 '; 
while ($crow = $resultuser->fetch_assoc()) {; 
    echo '						<option>'; 
    echo $crow["datework"] + 543;; 
    echo '</option> 
					'; 
}; 
echo '                </select> 
            </div> 
            </div> 
            <div class="col-sm-8"> 
                <p>&#3586;&#3633;&#3657;&#3609;&#3605;&#3629;&#3609;&#3607;&#3637;&#3656; 2 - &#3648;&#3621;&#3639;&#3629;&#3585;&#3585;&#3636;&#3592;&#3585;&#3619;&#3619;&#3617;/&#3650;&#3588;&#3619;&#3591;&#3585;&#3634;&#3619; (&#3619;&#3629;&#3626;&#3633;&#3585;&#3588;&#3619;&#3641;&#3656;&#3649;&#3621;&#3657;&#3623;&#3614;&#3636;&#3617;&#3614;&#3660;&#3594;&#3639;&#3656;&#3629;&#3651;&#3609;&#3594;&#3656;&#3629;&#3591;&#3588;&#3657;&#3609;&#3627;&#3634;-->&#3649;&#3621;&#3657;&#3623;&#3585;&#3604; &#3604;&#3634;&#3623;&#3609;&#3660;&#3650;&#3627;&#3621;&#3604;)</p> 
                 
                <div id="load_ceruser"> 
                <select class="custom-select" name="show_project" id="show_project"> 
                  <div id="show_project"></div> 
                </select> 
                </div> 
            </div> 
        </div> 
      </div> 
    </div> 
  </div> 
    
    <div class="card-deck mb-1"> 
    <div class="card mb-4 shadow-sm"> 
      <div class="card-header bg-info text-white"> 
        <h5 class="my-1"><i class="fa fa-th-list"></i>  &#3619;&#3634;&#3618;&#3594;&#3639;&#3656;&#3629;&#3612;&#3641;&#3657;&#3648;&#3586;&#3657;&#3634;&#3619;&#3656;&#3623;&#3617;&#3585;&#3634;&#3619;&#3629;&#3610;&#3619;&#3617;/&#3650;&#3588;&#3619;&#3591;&#3585;&#3634;&#3619;/&#3585;&#3636;&#3592;&#3585;&#3619;&#3619;&#3617;</h5> 
      </div> 
      <div class="card-body"> 
            <div id="show_user"></div> 
      </div> 
    </div> 
  </div> 
     
     
'; 
require_once ("footer.php");; 
echo '    <script src="js/jquery.js"></script> 
    <script src="js/datatables.js"></script> 
    <script src="js/bootstrap.bundle.min.js"></script> 
    <script src="js/jquery.easing.min.js"></script> 
      <script>   
       $(document).ready(function(){   
      $(\'#load_project\').change(function(){ 
          var datework = $(\'#datework\').val();  
           $.ajax({   
                url:"loadproject.php",   
                method:"POST",   
                data:{datework:datework},   
                success:function(data){   
                     $(\'#show_project\').html(data);   
                }   
           });   
      });   
 });   
  </script> 
         <script>   
       $(document).ready(function(){   
      $(\'#load_ceruser\').change(function(){ 
          var show_project = $(\'#show_project\').val();  
           $.ajax({   
                url:"loaduser.php",   
                method:"POST",   
                data:{show_project:show_project},   
                success:function(data){   
                     $(\'#show_user\').html(data);   
                }   
           });   
      });   
 });   
  </script> 
</div> 
</body> 
</html> 
'; 
 
 ?>

Did this file decode correctly?

Original Code

<?php session_start();
require_once ("connection.php");
$result = $con->query("SELECT * FROM tb_system WHERE idsystem = 1");
$system = $result->fetch_assoc();;
echo ' <html lang="en">
  <head>
    <meta charset="utf-8">
    <title>&#3619;&#3632;&#3610;&#3610;&#3614;&#3636;&#3617;&#3614;&#3660;&#3648;&#3585;&#3637;&#3618;&#3619;&#3605;&#3636;&#3610;&#3633;&#3605;&#3619;&#3629;&#3629;&#3609;&#3652;&#3621;&#3609;&#3660; - ';
echo $system["nameschool"];;
echo '</title>
    <link rel="shortcut icon" type="image/x-icon" href="img/icon.jpg" />
    <link href="css/bootstrap.css" rel="stylesheet">
	<link href="https://fonts.googleapis.com/css?family=Sarabun&display=swap" rel="stylesheet">
    <link rel="stylesheet" href="css/datatables.css">
    <link href="css/pricing.css" rel="stylesheet">
    <link href="css/fontawesome-free/css/all.min.css" rel="stylesheet" type="text/css">
  </head>
  <body>
<div class="container-fluid">
';
require_once ("header.php");;
echo ' 
  <div class="card-deck mb-1">
    <div class="card mb-4 shadow-sm">
      <div class="card-header bg-info text-white">
        <h5 class="my-1"><i class="fa fa-book-reader"></i> &#3604;&#3634;&#3623;&#3609;&#3660;&#3650;&#3627;&#3621;&#3604;&#3648;&#3585;&#3637;&#3618;&#3619;&#3605;&#3636;&#3610;&#3633;&#3605;&#3619;&#3651;&#3609;&#3588;&#3629;&#3617;&#3614;&#3636;&#3623;&#3648;&#3605;&#3629;&#3619;&#3660;&#3648;&#3607;&#3656;&#3634;&#3609;&#3633;&#3657;&#3609; (&#3627;&#3634;&#3585;&#3651;&#3594;&#3657;&#3650;&#3607;&#3619;&#3624;&#3633;&#3614;&#3607;&#3660;&#3617;&#3639;&#3629;&#3606;&#3639;&#3629;&#3651;&#3627;&#3657;&#3648;&#3611;&#3636;&#3604;&#3604;&#3657;&#3623;&#3618; Google Chrome)</h5>
      </div>
      <div class="card-body">
        <div class="row">
            <div class="col-sm-4">
    ';
$select = "SELECT DISTINCT DATE_FORMAT(datetimework, '%Y') AS datework FROM tb_project";
$resultuser = $con->query($select);;
echo '              
               <p>&#3586;&#3633;&#3657;&#3609;&#3605;&#3629;&#3609;&#3607;&#3637;&#3656; 1 - &#3648;&#3621;&#3639;&#3629;&#3585;&#3611;&#3637; &#3614;.&#3624;.</p>
               <div id="load_project"> 
                <select class="custom-select" name="datework" id="datework">
                <option value="0">&#3648;&#3621;&#3639;&#3629;&#3585;&#3611;&#3637; &#3614;.&#3624;.</option>
                 ';
while ($crow = $resultuser->fetch_assoc()) {;
    echo '						<option>';
    echo $crow["datework"] + 543;;
    echo '</option>
					';
};
echo '                </select>
            </div>
            </div>
            <div class="col-sm-8">
                <p>&#3586;&#3633;&#3657;&#3609;&#3605;&#3629;&#3609;&#3607;&#3637;&#3656; 2 - &#3648;&#3621;&#3639;&#3629;&#3585;&#3585;&#3636;&#3592;&#3585;&#3619;&#3619;&#3617;/&#3650;&#3588;&#3619;&#3591;&#3585;&#3634;&#3619; (&#3619;&#3629;&#3626;&#3633;&#3585;&#3588;&#3619;&#3641;&#3656;&#3649;&#3621;&#3657;&#3623;&#3614;&#3636;&#3617;&#3614;&#3660;&#3594;&#3639;&#3656;&#3629;&#3651;&#3609;&#3594;&#3656;&#3629;&#3591;&#3588;&#3657;&#3609;&#3627;&#3634;-->&#3649;&#3621;&#3657;&#3623;&#3585;&#3604; &#3604;&#3634;&#3623;&#3609;&#3660;&#3650;&#3627;&#3621;&#3604;)</p>
                
                <div id="load_ceruser">
                <select class="custom-select" name="show_project" id="show_project">
                  <div id="show_project"></div>
                </select>
                </div>
            </div>
        </div>
      </div>
    </div>
  </div>
   
    <div class="card-deck mb-1">
    <div class="card mb-4 shadow-sm">
      <div class="card-header bg-info text-white">
        <h5 class="my-1"><i class="fa fa-th-list"></i>  &#3619;&#3634;&#3618;&#3594;&#3639;&#3656;&#3629;&#3612;&#3641;&#3657;&#3648;&#3586;&#3657;&#3634;&#3619;&#3656;&#3623;&#3617;&#3585;&#3634;&#3619;&#3629;&#3610;&#3619;&#3617;/&#3650;&#3588;&#3619;&#3591;&#3585;&#3634;&#3619;/&#3585;&#3636;&#3592;&#3585;&#3619;&#3619;&#3617;</h5>
      </div>
      <div class="card-body">
            <div id="show_user"></div>
      </div>
    </div>
  </div>
    
    
';
require_once ("footer.php");;
echo '    <script src="js/jquery.js"></script>
    <script src="js/datatables.js"></script>
    <script src="js/bootstrap.bundle.min.js"></script>
    <script src="js/jquery.easing.min.js"></script>
      <script>  
       $(document).ready(function(){  
      $(\'#load_project\').change(function(){
          var datework = $(\'#datework\').val(); 
           $.ajax({  
                url:"loadproject.php",  
                method:"POST",  
                data:{datework:datework},  
                success:function(data){  
                     $(\'#show_project\').html(data);  
                }  
           });  
      });  
 });  
  </script>
         <script>  
       $(document).ready(function(){  
      $(\'#load_ceruser\').change(function(){
          var show_project = $(\'#show_project\').val(); 
           $.ajax({  
                url:"loaduser.php",  
                method:"POST",  
                data:{show_project:show_project},  
                success:function(data){  
                     $(\'#show_user\').html(data);  
                }  
           });  
      });  
 });  
  </script>
</div>
</body>
</html>
';

Function Calls

session_start 1

Variables

None

Stats

MD5 a341ea3b2708438285a616b5da581d07
Eval Count 0
Decode Time 70 ms