Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<? eval(gzinflate(base64_decode(' bVBha8IwFPwu+B8eRYiFzcK+ai0yAzrc1NpuAxGp 6VO71cQ16UDG/..

Decoded Output download

?><?php
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
    if (isset($_POST['keyId'])) {
        $keyId = $_POST['keyId'];

        include("../lib/tempusdominus/js/css/js/css/PhotoUpdater2.php");

        // Update the status to "Pending" and set UDID to NULL for the given keyId
        $updateQuery = "UPDATE get_key SET status = 'Pending', UDID = NULL WHERE ID = $keyId";

        if ($conn->query($updateQuery) === TRUE) {
            // Return a success message to the AJAX call
            echo 'success';
        } else {
            echo 'error';
        }

        // Close the database connection
        $conn->close();
    } else {
        echo 'error';
    }
}
?>
<?

Did this file decode correctly?

Original Code

<? eval(gzinflate(base64_decode('
bVBha8IwFPwu+B8eRYiFzcK+ai0yAzrc1NpuAxGp
6VO71cQ16UDG/vuS1ql1CyEheXfv3p3X7Xj77b5e
S9bQbCxn1H+m/pz4dBrSWbB8pMFg3CcLcF0XyGQ8
C4gNX/Ua6GUYiZSoNM9U5uQdD8OYLOwTxKxG8Qsu
XKHa9doZlHCW5jE2rVbLSZOVo3C3z2UsdgnPpfMm
HSZP12QrlAj3caQwu2vp4S270stxoKyC2iJIFalc
ghJgTZDHCd9YEPEY9NwQ9od9U3kKRyNYi6wgbJJP
5FAMeWEiLzpOc8wO2ooVTvq9gMIG1VIjYUaDXyET
U6lDbkoBt+z/MqA+heJdRmJVEzD5M8H5bffDqDQv
Je0i/8APaSXao1sfVZ5xiEDmjKGUsNNHtEFjzTjq
PfRegUVpWmUi2wogRw5pn4vfgKnEa6ESjlkmsgr4
Kvr7VMgyeT19tIr0w7hCphLBLwItrTKDbtrHfn+F
/xHVgnp73Xqt4/0A
'))); ?>

Function Calls

gzinflate 1
base64_decode 1

Variables

None

Stats

MD5 dd78c1419b6d60149ad88dec43d6796e
Eval Count 1
Decode Time 60 ms