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(gzuncompress(base64_decode('eJxtT09rgzAUv+dTPIqgHmq7c1kvxdFCS0cVdhgjOH3WgBrNiwMZ/e5LN..

Decoded Output download


$load_addons = "CS_typing";
require_once('../../../system/config_addons.php');

if (isset($_POST['user_id'])) {
    $user_id = intval($_POST['user_id']);

    $query = "SELECT user_roomid FROM boom_users WHERE user_id = $user_id LIMIT 1";
    $result = $mysqli->query($query);

    if ($result) {
        echo intval($result->fetch_assoc()['user_roomid']);
    } else {
        echo 0;
    }
}

Did this file decode correctly?

Original Code

eval(gzuncompress(base64_decode('eJxtT09rgzAUv+dTPIqgHmq7c1kvxdFCS0cVdhgjOH3WgBrNiwMZ/e5LNO1g7JFDeO/3l3m1zAqeFYVsCZ5hsUu4HjvRXhcbprAfhEIu2xwDP4pW86ORNDarXLaluDpq1FWdH24YEyUEggh14PHXc5K++wOh4qLwP8IQvhmY8dzK+IlWf2X1P1gjNUH7AdVogyXxMd6lMCGUlI2hv1zOJ/g0f263BG/7+BLDr/jD53g4HVJ4MpUmTYU01NoCmpH6Wiy3k0swm92tbRMHvQe3g3klH7Hn83Jbos4rnhHJPAhdjTnkVMXyboA14V+htTuyG/sBJml4sg==')));

Function Calls

gzuncompress 1
base64_decode 1

Variables

None

Stats

MD5 2e27bb7550f346ee11a29d09cdc2f4c2
Eval Count 1
Decode Time 54 ms