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

Signing you up...

Thank you for signing up!

PHP Decode

public function get_current_url() { return (isset($_SERVER["\x48\x54\124\120..

Decoded Output download

<?  public function get_current_url() 
    { 
        return (isset($_SERVER["HTTPS"]) ? "https" : "http") . "://{$_SERVER["HTTP_HOST"]}{$_SERVER["REQUEST_URI"]}"; 
    } ?>

Did this file decode correctly?

Original Code

public function get_current_url()
    {
        return (isset($_SERVER["\x48\x54\124\120\123"]) ? "\x68\x74\164\x70\x73" : "\150\164\x74\x70") . "\72\57\57{$_SERVER["\x48\124\124\x50\x5f\x48\117\x53\124"]}{$_SERVER["\x52\105\x51\125\x45\x53\124\x5f\125\122\x49"]}";
    }

Function Calls

None

Variables

None

Stats

MD5 992db0c9ad436aa7d23fdbb9df71c241
Eval Count 0
Decode Time 29 ms