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 /* This file is protected by copyright law and provided under license. Reverse engin..

Decoded Output download

 @session_start();
include("./includes/connection.php");
if(isset($_GET['Sub_Department_ID'])){
$Sub_Department_ID = $_GET['Sub_Department_ID'];
}else{
$Sub_Department_ID = 0;
}
$select_sub_department = mysqli_query($conn,"select * from tbl_sub_department where Sub_Department_ID = '$Sub_Department_ID'") or die(mysqli_error($conn));
$no = mysqli_num_rows($select_sub_department);
if($no >0){
echo "<select name='Sub_Department_ID' id='Sub_Department_ID' required='required'>";
$select_Supplier = mysqli_query($conn,"select * from tbl_sub_department where
                                                Sub_Department_ID = '$Sub_Department_ID'") or die(mysqli_error($conn));
while($row = mysqli_fetch_array($select_Supplier)){
echo "<option value='".$row['Sub_Department_ID']."'>".$row['Sub_Department_Name']."</option>";
}
echo '</select>';
};

Did this file decode correctly?

Original Code

<?php /* This file is protected by copyright law and provided under license. Reverse engineering of this file is strictly prohibited. */$OOO000000=urldecode('%66%67%36%73%62%65%68%70%72%61%34%63%6f%5f%74%6e%64');$GLOBALS['OOO0000O0']=$OOO000000{4}.$OOO000000{9}.$OOO000000{3}.$OOO000000{5}.$OOO000000{2}.$OOO000000{10}.$OOO000000{13}.$OOO000000{16};$GLOBALS['OOO0000O0'].=$GLOBALS['OOO0000O0']{3}.$OOO000000{11}.$OOO000000{12}.$GLOBALS['OOO0000O0']{7}.$OOO000000{5};$GLOBALS['OOO000O00']=$OOO000000{0}.$OOO000000{12}.$OOO000000{7}.$OOO000000{5}.$OOO000000{15};$GLOBALS['O0O000O00']=$OOO000000{0}.$OOO000000{1}.$OOO000000{5}.$OOO000000{14};$GLOBALS['O0O000O00']=$O0O000O00.$OOO000000{3};$GLOBALS['O0O00OO00']=$OOO000000{0}.$OOO000000{8}.$OOO000000{5}.$OOO000000{9}.$OOO000000{16};$GLOBALS['OOO00000O']=$OOO000000{3}.$OOO000000{14}.$OOO000000{8}.$OOO000000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1Cl9rcbniFmOscB50b0lrwe0Iky9uOaOdk1Y1Cl9rcbniFmOscB50b0lrk107tm1lduYlGXPLA3aJb0OlFoyZfo1ldmOgUAWINUEXKXp9tJOzcBxlC3OgF3aJb2OlFoyZfo1ldmWINUnsGbYxdolgFbalFmLPkoYvdM4SwmYldoajftEQwocZd20IfokSb3Y1Cl9LcbniFmOscB50wufPcbklwyY1Cl9rcbniFmOscB50b0lrwe0IkZOTfBkgOoaXCbk0dBaVfy9kOtFJhUnvFJnLDBAPdblzFBxpb2aZFM9ZhtOjd25VhUL7tJOVdZE9wo15F3ySDa9VfB1gFM93FZILF2aScBY0b3Y1Cl9LcbniFmOscB50hTShDBCPko5vwe4XhbShcBYPdZEJNuYldoajftnVCB1lNUfTfBkgOoaXCbk0dBaVfy9kOtFIDBW9k1Y1Cl9rcbniFmOscB50b0lrkZnZcby1Dbklce0mFMaxfBlZcBWmNJw7tJOzcBxlC3OgA3aXFoxpcbwINUnsGbYxdolgFbalFmLPkoYvdM4SwmYldoajftEQwocZd20IfokSb3Y1Cl9LcbniFmOscB50wufPcbkltJEIwtEIwtEIwtEIwtEIwtEIwtEIwtEIwtEIwtEIwtEIwtEIwtEIwtEIwtEIwtEIwyY1Cl9rcbniFmOscB50b0lrwe0IkZOTfBkgOoaXCbk0dBaVfy9kOtFJhUnvFJnLDBAPdblzFBxpb2aZFM9ZhtOjd25VhUL7tmfPDBxlhtOZd3FINUnsGbYxdolgcMa0C2igCbkZCbLPkuYldoajfy9TfbnXdollFJLpGXplC2ivwtw8d3n0DB9VwucidualNUFJRJOZd3fdk1Y1Cl9rcbniFmOscB50b0lrk10VwJF+wJ4LFM93BZfTfBkgOoaXCbk0dBaVfy9KCB1lk10VwjXvd3n0DB9VNJw7tm0hcBYPdZEmNt9zcBxlC3W+kzShgTS=UFz{LIwmvMfmT^u|

Function Calls

fopen 1
fread 3
strtr 2
fclose 1
urldecode 1
str_replace 1
base64_decode 3

Variables

$O000O0O00 True
$O0O000O00 fgets
$O0O00OO00 fread
$OO00O0000 1128
$OO00O00O0 @session_start(); include("./includes/connection.php"); if(..
$OOO000000 fg6sbehpra4co_tnd
$OOO00000O strtr
$OOO0000O0 base64_decode
$OOO000O00 fopen
$OOO0O0O00 index.php

Stats

MD5 1fe87e61c7a36ce4a9e444d023be07d0
Eval Count 3
Decode Time 102 ms