Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<!DOCTYPE html> <html> <head> <title>Largest Number</title> </head> <body> <form m..
Decoded Output download
<!DOCTYPE html>
<html>
<head>
<title>Largest Number</title>
</head>
<body>
<form method="post" action="index.php">
Enter the first number:<br>
<input type="text" name="num1"><br>
Enter the second number:<br>
<input type="text" name="num2"><br>
Enter the third number:<br>
<input type="text" name="num3">
<br>
<input type="submit" name="submit">
</form>
</body>
</html>
<?php
if(isset($_POST["submit"])){
$num1=$_POST["num1"];
$num2=$_POST["num2"];
$num3=$_POST["num3"];
if($num1>$num2 && $num1>$num3){
echo $num1;
}
else{
if($num2>$num1 && $num2>$num3){
echo $num2;
}
else
echo $num3;
}
}
?>
Did this file decode correctly?
Original Code
<!DOCTYPE html>
<html>
<head>
<title>Largest Number</title>
</head>
<body>
<form method="post" action="index.php">
Enter the first number:<br>
<input type="text" name="num1"><br>
Enter the second number:<br>
<input type="text" name="num2"><br>
Enter the third number:<br>
<input type="text" name="num3">
<br>
<input type="submit" name="submit">
</form>
</body>
</html>
<?php
if(isset($_POST["submit"])){
$num1=$_POST["num1"];
$num2=$_POST["num2"];
$num3=$_POST["num3"];
if($num1>$num2 && $num1>$num3){
echo $num1;
}
else{
if($num2>$num1 && $num2>$num3){
echo $num2;
}
else
echo $num3;
}
}
?>
Function Calls
None |
Stats
MD5 | 2d539fa32b7d0fa7f7347b8bc98ff788 |
Eval Count | 0 |
Decode Time | 116 ms |