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

Signing you up...

Thank you for signing up!

PHP Decode

if($_cfg['panel_https'] && $_cfg['protocol'] == 'http') { $url = 'https://'.str_..

Decoded Output download

<?  if($_cfg['panel_https'] && $_cfg['protocol'] == 'http') 
{ 
        $url = 'https://'.str_replace('//', '/', $_SERVER['HTTP_HOST']).$_SERVER['REQUEST_URI']; 
        header("Location: ".$url); 
        die(); 
} 
 ?>

Did this file decode correctly?

Original Code

if($_cfg['panel_https'] && $_cfg['protocol'] == 'http')
{
        $url = 'https://'.str_replace('//', '/', $_SERVER['HTTP_HOST']).$_SERVER['REQUEST_URI'];
        header("Location: ".$url);
        die();
}

Function Calls

str_replace 1

Variables

None

Stats

MD5 493f008631d2411779899a2df07110df
Eval Count 0
Decode Time 65 ms