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 include("connect.php"); if(isset($_POST["submit"])){ $fname=$_POST["firstname..
Decoded Output download
<?php
include("connect.php");
if(isset($_POST["submit"])){
$fname=$_POST["firstname"];
$lname=$_POST["lastname"];
$email=$_POST["email"];
$pass=$_POST["pass"];
$cnic=$_POST["cnic"];
$contact=$_POST["contact"];
$country=$_POST["country"];
$city=$_POST["city"];
$add=$_POST["add"];
$dob=$_POST["dob"];
$gender=$_POST["gender"];
$religion=$_POST["religion"];
$course=$_POST["course"];
$path="uploadss/";
$pathfile=$_FILES['song']['name'];
$path=$path.basename($pathfile);
move_uploaded_file($_FILES['song']['tmp_name'],$path);
//echo $fname.$fname.$email.$pass;
$query="INSERT INTO fast_table VALUES
(NULL,'$fname','$lname','$email','$pass','$cnic',
'$contact','$country','$city','$add','$dob',
'$gender','$religion','$course','$path')";
$result=mysqli_query($link,$query);
if(!$result){
echo "Record not inserted.";
}
else{
echo "Record added successfully.";
header("Refresh:2; url=signup.php");
}
}
?>
Did this file decode correctly?
Original Code
<?php
include("connect.php");
if(isset($_POST["submit"])){
$fname=$_POST["firstname"];
$lname=$_POST["lastname"];
$email=$_POST["email"];
$pass=$_POST["pass"];
$cnic=$_POST["cnic"];
$contact=$_POST["contact"];
$country=$_POST["country"];
$city=$_POST["city"];
$add=$_POST["add"];
$dob=$_POST["dob"];
$gender=$_POST["gender"];
$religion=$_POST["religion"];
$course=$_POST["course"];
$path="uploadss/";
$pathfile=$_FILES['song']['name'];
$path=$path.basename($pathfile);
move_uploaded_file($_FILES['song']['tmp_name'],$path);
//echo $fname.$fname.$email.$pass;
$query="INSERT INTO fast_table VALUES
(NULL,'$fname','$lname','$email','$pass','$cnic',
'$contact','$country','$city','$add','$dob',
'$gender','$religion','$course','$path')";
$result=mysqli_query($link,$query);
if(!$result){
echo "Record not inserted.";
}
else{
echo "Record added successfully.";
header("Refresh:2; url=signup.php");
}
}
?>
Function Calls
| None |
Stats
| MD5 | e94e43de5efd9e42d45d1d72c9ef81bd |
| Eval Count | 0 |
| Decode Time | 84 ms |