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 "config.php"; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional/..

Decoded Output download

<?php include "config.php"; ?> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"> 
<head> 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
<!-- TemplateBeginEditable name="doctitle" --> 
<title>Untitled Document</title> 
<!-- TemplateEndEditable --> 
<!-- TemplateBeginEditable name="head" --> 
<!-- TemplateEndEditable --> 
</head> 
 
<body> 
<center> 
<form action="" method="post"> 
<label>Tn Ngnh Hng:</label> 
<input name="txtnganhhang" type="text" /> 
<button style="background-color:#6FF" type="submit" name="btnadd">Lu</button> 
 
<a href="product.php"> 
<button style="background-color:#6FF" name="add" type="button">Tr v</button> 
</a> 
<?php 
if(isset($_POST['btnadd'])){ 
	$sql ="INSERT INTO nganhhang values(NULL,'".$_POST['txtnganhhang']."')"; 
	$result = $db->query($sql); 
	if($result) 
		echo "Lu thnh cng!"; 
	else 
		echo "C li xy ra!";	 
	} 
	 
?> 
</form> 
</center> 
</body> 
</html> 

Did this file decode correctly?

Original Code

<?php include "config.php"; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>Untitled Document</title>
<!-- TemplateEndEditable -->
<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->
</head>

<body>
<center>
<form action="" method="post">
<label>Tn Ngnh Hng:</label>
<input name="txtnganhhang" type="text" />
<button style="background-color:#6FF" type="submit" name="btnadd">Lu</button>

<a href="product.php">
<button style="background-color:#6FF" name="add" type="button">Tr v</button>
</a>
<?php
if(isset($_POST['btnadd'])){
	$sql ="INSERT INTO nganhhang values(NULL,'".$_POST['txtnganhhang']."')";
	$result = $db->query($sql);
	if($result)
		echo "Lu thnh cng!";
	else
		echo "C li xy ra!";	
	}
	
?>
</form>
</center>
</body>
</html>

Function Calls

None

Variables

None

Stats

MD5 c654f9c95c008481901abad5b0a17530
Eval Count 0
Decode Time 87 ms