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 $servername = "localhost"; $username = "root"; $password =""; $dbname = "stude..
Decoded Output download
<?php
$servername = "localhost";
$username = "root";
$password ="";
$dbname = "student";
$conn = mysquil_connect("$servername, $username, $password, $dbname");
if (!$conn) {
echo "efc";
}
if(isset($_POST['signup'])) {
$name = $_post['name'];
$phone = $_post['phone'];
$email = $_post['email'];
$address = $_post['address'];
}
$insert = "INSERT INTO 'stu'('name','phone','email','address') VALUES ('$name','$phone','$email','$address')";
mysqli_query($conn, $insert);
header("Location: stu.php");
if(!$conn){
die("connection failed". mysquil_connect_error());
}
?>
Did this file decode correctly?
Original Code
<?php
$servername = "localhost";
$username = "root";
$password ="";
$dbname = "student";
$conn = mysquil_connect("$servername, $username, $password, $dbname");
if (!$conn) {
echo "efc";
}
if(isset($_POST['signup'])) {
$name = $_post['name'];
$phone = $_post['phone'];
$email = $_post['email'];
$address = $_post['address'];
}
$insert = "INSERT INTO 'stu'('name','phone','email','address') VALUES ('$name','$phone','$email','$address')";
mysqli_query($conn, $insert);
header("Location: stu.php");
if(!$conn){
die("connection failed". mysquil_connect_error());
}
?>
Function Calls
mysquil_connect | 1 |
Stats
MD5 | 845c50d9eb81cd009b97207a8594ef85 |
Eval Count | 0 |
Decode Time | 62 ms |