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 $name = trim($_POST['name']); $Fname = trim($_POST['fname']); $gender = tri..
Decoded Output download
<?php
$name = trim($_POST['name']);
$Fname = trim($_POST['fname']);
$gender = trim($_POST['single']);
$user_name = trim($_POST['user_name']);
$address = trim($_POST['adress']);
$reason = trim($_POST['reason']);
$cure = trim($_POST['cure']);
$age = trim($_POST['age']);
$father = trim($_POST['father']);
$user_pass = trim($_POST['user_pass']);
$job = trim($_POST['job']);
$tozih = trim($_POST['tozih']);
$first = trim($_POST['first']);
if(empty($name) || empty($address) || empty($Fname) || empty($user_name) || empty($reason) || empty($cure) || empty($age) || empty($father) || empty($user_pass) || empty($job) || empty($tozih) || empty($first))
{
echo " ";
}else{
include "[email protected]";
$query = mysqli_query($GLOBALS["___mysqli_ston"], "SELECT user_name FROM users WHERE user_name='".$user_name."'");
if (mysqli_num_rows($query) != 0)
{
echo " ";
}
else
{
$i = mysqli_query($GLOBALS["___mysqli_ston"], "insert into users (Name, Fname, single, user_name, adress, reason, cure, age, father, user_pass, job, tozih, first)
values('".$name."','".$Fname."','".$gender."','".$user_name."','".$address."','".$reason."','".$cure."','".$age."','".$father."','".$user_pass."','".$job."','".$tozih."','".$first."')");
if($i==true){
echo " ";
}
//if($i==true){
//header('Location:index.php');
//exit;
//mysql_close();
//}
}
}
?>
Did this file decode correctly?
Original Code
<?php
$name = trim($_POST['name']);
$Fname = trim($_POST['fname']);
$gender = trim($_POST['single']);
$user_name = trim($_POST['user_name']);
$address = trim($_POST['adress']);
$reason = trim($_POST['reason']);
$cure = trim($_POST['cure']);
$age = trim($_POST['age']);
$father = trim($_POST['father']);
$user_pass = trim($_POST['user_pass']);
$job = trim($_POST['job']);
$tozih = trim($_POST['tozih']);
$first = trim($_POST['first']);
if(empty($name) || empty($address) || empty($Fname) || empty($user_name) || empty($reason) || empty($cure) || empty($age) || empty($father) || empty($user_pass) || empty($job) || empty($tozih) || empty($first))
{
echo " ";
}else{
include "[email protected]";
$query = mysqli_query($GLOBALS["___mysqli_ston"], "SELECT user_name FROM users WHERE user_name='".$user_name."'");
if (mysqli_num_rows($query) != 0)
{
echo " ";
}
else
{
$i = mysqli_query($GLOBALS["___mysqli_ston"], "insert into users (Name, Fname, single, user_name, adress, reason, cure, age, father, user_pass, job, tozih, first)
values('".$name."','".$Fname."','".$gender."','".$user_name."','".$address."','".$reason."','".$cure."','".$age."','".$father."','".$user_pass."','".$job."','".$tozih."','".$first."')");
if($i==true){
echo " ";
}
//if($i==true){
//header('Location:index.php');
//exit;
//mysql_close();
//}
}
}
?>
Function Calls
| trim | 13 |
Stats
| MD5 | 56e193797c9bcae074bc930f09d03924 |
| Eval Count | 0 |
| Decode Time | 86 ms |