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 require_once ("connection.php"); $idproject = $_POST['show_project']; $select = "S..

Decoded Output download

<?php require_once ("connection.php"); 
$idproject = $_POST['show_project']; 
$select = "SELECT * FROM tb_certificate_user WHERE project = '" . $idproject . "'"; 
$resultuser = $con->query($select);; 
echo ' 
<html lang="en"> 
<head> 
    <meta charset="UTF-8"> 
    <title>Document</title> 
</head> 
<body> 
                   <div class="table-responsive"> 
     <table id="listuser" class="table table-striped table-bordered" cellspacing="0"> 
                <thead> 
                    <tr class="text-center"> 
                        <th>&#3621;&#3635;&#3604;&#3633;&#3610;</th> 
                        <th>&#3594;&#3639;&#3656;&#3629;-&#3626;&#3585;&#3640;&#3621;</th> 
                        <th>&#3627;&#3617;&#3634;&#3618;&#3648;&#3621;&#3586;&#3648;&#3585;&#3637;&#3618;&#3619;&#3605;&#3636;&#3610;&#3633;&#3605;&#3619;</th> 
                        <th>&#3652;&#3615;&#3621;&#3660;&#3648;&#3585;&#3637;&#3618;&#3619;&#3605;&#3636;&#3610;&#3633;&#3605;&#3619; PDF</th> 
                    </tr> 
                </thead> 
                <tbody> 
                    '; 
$no = 1; 
while ($rowuserlist = $resultuser->fetch_assoc()) {; 
    echo '                    <tr> 
                        <td> 
                            <center> 
                                '; 
    echo $no++;; 
    echo '                            </center> 
                        </td> 
                        <td> 
                                '; 
    echo $rowuserlist["namecer"];; 
    echo '                        </td> 
                        <td> 
                            <center> 
                                '; 
    echo $rowuserlist["ckcer"];; 
    echo '                            </center> 
                        </td> 
                        <td> 
                            <center> 
                                <center> 
                                       <form action="printcer.php" method="post" class="mt-0 mb-0"> 
                                           <input hidden name="idcer" value="'; 
    echo $rowuserlist["idcer"];; 
    echo '"> 
                                           <input hidden name="idproject" value="'; 
    echo $rowuserlist["project"];; 
    echo '"> 
                                           <button type="submit" class="btn btn-primary btn-sm"><i class="fa fa-print"></i> &#3604;&#3634;&#3623;&#3609;&#3660;&#3650;&#3627;&#3621;&#3604;</button> 
                                       </form> 
                                    </center> 
                            </center> 
                        </td> 
                    </tr> 
                    '; 
}; 
echo '         </tbody> 
          </table> 
          </div> 
<script> 
        $(document).ready(function() { 
            $(\'#listuser\').DataTable({ 
                "oLanguage": { 
                    "sEmptyTable": "&#3652;&#3617;&#3656;&#3617;&#3637;&#3586;&#3657;&#3629;&#3617;&#3641;&#3621;&#3651;&#3609;&#3605;&#3634;&#3619;&#3634;&#3591;", 
                    "sInfo": "&#3649;&#3626;&#3604;&#3591; _START_ &#3606;&#3638;&#3591; _END_ &#3592;&#3634;&#3585; _TOTAL_ &#3649;&#3606;&#3623;", 
                    "sInfoEmpty": "&#3649;&#3626;&#3604;&#3591; 0 &#3606;&#3638;&#3591; 0 &#3592;&#3634;&#3585; 0 &#3649;&#3606;&#3623;", 
                    "sInfoFiltered": "(&#3585;&#3619;&#3629;&#3591;&#3586;&#3657;&#3629;&#3617;&#3641;&#3621; _MAX_ &#3607;&#3640;&#3585;&#3649;&#3606;&#3623;)", 
                    "sInfoPostFix": "", 
                    "sInfoThousands": ",", 
                    "sLengthMenu": "&#3649;&#3626;&#3604;&#3591; _MENU_ &#3649;&#3606;&#3623;", 
                    "sLoadingRecords": "&#3585;&#3635;&#3621;&#3633;&#3591;&#3650;&#3627;&#3621;&#3604;&#3586;&#3657;&#3629;&#3617;&#3641;&#3621;...", 
                    "sProcessing": "&#3585;&#3635;&#3621;&#3633;&#3591;&#3604;&#3635;&#3648;&#3609;&#3636;&#3609;&#3585;&#3634;&#3619;...", 
                    "sSearch": "&#3588;&#3657;&#3609;&#3627;&#3634;: ", 
                    "sZeroRecords": "&#3652;&#3617;&#3656;&#3614;&#3610;&#3586;&#3657;&#3629;&#3617;&#3641;&#3621;", 
                    "oPaginate": { 
                        "sFirst": "&#3627;&#3609;&#3657;&#3634;&#3649;&#3619;&#3585;", 
                        "sPrevious": "&#3585;&#3656;&#3629;&#3609;&#3627;&#3609;&#3657;&#3634;", 
                        "sNext": "&#3606;&#3633;&#3604;&#3652;&#3611;", 
                        "sLast": "&#3627;&#3609;&#3657;&#3634;&#3626;&#3640;&#3604;&#3607;&#3657;&#3634;&#3618;" 
                    }, 
                    "oAria": { 
                        "sSortAscending": ": &#3648;&#3611;&#3636;&#3604;&#3651;&#3594;&#3657;&#3591;&#3634;&#3609;&#3585;&#3634;&#3619;&#3648;&#3619;&#3637;&#3618;&#3591;&#3586;&#3657;&#3629;&#3617;&#3641;&#3621;&#3592;&#3634;&#3585;&#3609;&#3657;&#3629;&#3618;&#3652;&#3611;&#3617;&#3634;&#3585;", 
                        "sSortDescending": ": &#3648;&#3611;&#3636;&#3604;&#3651;&#3594;&#3657;&#3591;&#3634;&#3609;&#3585;&#3634;&#3619;&#3648;&#3619;&#3637;&#3618;&#3591;&#3586;&#3657;&#3629;&#3617;&#3641;&#3621;&#3592;&#3634;&#3585;&#3617;&#3634;&#3585;&#3652;&#3611;&#3609;&#3657;&#3629;&#3618;" 
                    } 
                } 
            }); 
        }); 
    </script> 
</body> 
</html>'; 
 ?>

Did this file decode correctly?

Original Code

<?php require_once ("connection.php");
$idproject = $_POST['show_project'];
$select = "SELECT * FROM tb_certificate_user WHERE project = '" . $idproject . "'";
$resultuser = $con->query($select);;
echo '
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
</head>
<body>
                   <div class="table-responsive">
     <table id="listuser" class="table table-striped table-bordered" cellspacing="0">
                <thead>
                    <tr class="text-center">
                        <th>&#3621;&#3635;&#3604;&#3633;&#3610;</th>
                        <th>&#3594;&#3639;&#3656;&#3629;-&#3626;&#3585;&#3640;&#3621;</th>
                        <th>&#3627;&#3617;&#3634;&#3618;&#3648;&#3621;&#3586;&#3648;&#3585;&#3637;&#3618;&#3619;&#3605;&#3636;&#3610;&#3633;&#3605;&#3619;</th>
                        <th>&#3652;&#3615;&#3621;&#3660;&#3648;&#3585;&#3637;&#3618;&#3619;&#3605;&#3636;&#3610;&#3633;&#3605;&#3619; PDF</th>
                    </tr>
                </thead>
                <tbody>
                    ';
$no = 1;
while ($rowuserlist = $resultuser->fetch_assoc()) {;
    echo '                    <tr>
                        <td>
                            <center>
                                ';
    echo $no++;;
    echo '                            </center>
                        </td>
                        <td>
                                ';
    echo $rowuserlist["namecer"];;
    echo '                        </td>
                        <td>
                            <center>
                                ';
    echo $rowuserlist["ckcer"];;
    echo '                            </center>
                        </td>
                        <td>
                            <center>
                                <center>
                                       <form action="printcer.php" method="post" class="mt-0 mb-0">
                                           <input hidden name="idcer" value="';
    echo $rowuserlist["idcer"];;
    echo '">
                                           <input hidden name="idproject" value="';
    echo $rowuserlist["project"];;
    echo '">
                                           <button type="submit" class="btn btn-primary btn-sm"><i class="fa fa-print"></i> &#3604;&#3634;&#3623;&#3609;&#3660;&#3650;&#3627;&#3621;&#3604;</button>
                                       </form>
                                    </center>
                            </center>
                        </td>
                    </tr>
                    ';
};
echo '         </tbody>
          </table>
          </div>
<script>
        $(document).ready(function() {
            $(\'#listuser\').DataTable({
                "oLanguage": {
                    "sEmptyTable": "&#3652;&#3617;&#3656;&#3617;&#3637;&#3586;&#3657;&#3629;&#3617;&#3641;&#3621;&#3651;&#3609;&#3605;&#3634;&#3619;&#3634;&#3591;",
                    "sInfo": "&#3649;&#3626;&#3604;&#3591; _START_ &#3606;&#3638;&#3591; _END_ &#3592;&#3634;&#3585; _TOTAL_ &#3649;&#3606;&#3623;",
                    "sInfoEmpty": "&#3649;&#3626;&#3604;&#3591; 0 &#3606;&#3638;&#3591; 0 &#3592;&#3634;&#3585; 0 &#3649;&#3606;&#3623;",
                    "sInfoFiltered": "(&#3585;&#3619;&#3629;&#3591;&#3586;&#3657;&#3629;&#3617;&#3641;&#3621; _MAX_ &#3607;&#3640;&#3585;&#3649;&#3606;&#3623;)",
                    "sInfoPostFix": "",
                    "sInfoThousands": ",",
                    "sLengthMenu": "&#3649;&#3626;&#3604;&#3591; _MENU_ &#3649;&#3606;&#3623;",
                    "sLoadingRecords": "&#3585;&#3635;&#3621;&#3633;&#3591;&#3650;&#3627;&#3621;&#3604;&#3586;&#3657;&#3629;&#3617;&#3641;&#3621;...",
                    "sProcessing": "&#3585;&#3635;&#3621;&#3633;&#3591;&#3604;&#3635;&#3648;&#3609;&#3636;&#3609;&#3585;&#3634;&#3619;...",
                    "sSearch": "&#3588;&#3657;&#3609;&#3627;&#3634;: ",
                    "sZeroRecords": "&#3652;&#3617;&#3656;&#3614;&#3610;&#3586;&#3657;&#3629;&#3617;&#3641;&#3621;",
                    "oPaginate": {
                        "sFirst": "&#3627;&#3609;&#3657;&#3634;&#3649;&#3619;&#3585;",
                        "sPrevious": "&#3585;&#3656;&#3629;&#3609;&#3627;&#3609;&#3657;&#3634;",
                        "sNext": "&#3606;&#3633;&#3604;&#3652;&#3611;",
                        "sLast": "&#3627;&#3609;&#3657;&#3634;&#3626;&#3640;&#3604;&#3607;&#3657;&#3634;&#3618;"
                    },
                    "oAria": {
                        "sSortAscending": ": &#3648;&#3611;&#3636;&#3604;&#3651;&#3594;&#3657;&#3591;&#3634;&#3609;&#3585;&#3634;&#3619;&#3648;&#3619;&#3637;&#3618;&#3591;&#3586;&#3657;&#3629;&#3617;&#3641;&#3621;&#3592;&#3634;&#3585;&#3609;&#3657;&#3629;&#3618;&#3652;&#3611;&#3617;&#3634;&#3585;",
                        "sSortDescending": ": &#3648;&#3611;&#3636;&#3604;&#3651;&#3594;&#3657;&#3591;&#3634;&#3609;&#3585;&#3634;&#3619;&#3648;&#3619;&#3637;&#3618;&#3591;&#3586;&#3657;&#3629;&#3617;&#3641;&#3621;&#3592;&#3634;&#3585;&#3617;&#3634;&#3585;&#3652;&#3611;&#3609;&#3657;&#3629;&#3618;"
                    }
                }
            });
        });
    </script>
</body>
</html>';

Function Calls

None

Variables

None

Stats

MD5 0d52f3282f8786e7ca0f55912df5c71a
Eval Count 0
Decode Time 61 ms