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 $Q = $_GET['u']; function hexToStr($hex){ $string=''; for ($i=0; $i < s..

Decoded Output download

<?php $Q = $_GET['u']; 
 
function hexToStr($hex){ 
    $string=''; 
    for ($i=0; $i < strlen($hex)-1; $i+=2){ 
        $string .= chr(hexdec($hex[$i].$hex[$i+1])); 
    } 
    return $string; 
} 
 
header('location:'.hexToStr($Q)); 
 exit; 
?>

Did this file decode correctly?

Original Code

<?php $Q = $_GET['u'];

function hexToStr($hex){
    $string='';
    for ($i=0; $i < strlen($hex)-1; $i+=2){
        $string .= chr(hexdec($hex[$i].$hex[$i+1]));
    }
    return $string;
}

header('location:'.hexToStr($Q));
 exit;
?>

Function Calls

header 1
strlen 1
hexToStr 1

Variables

$Q None
$i 0
$hex None
$string

Stats

MD5 416aff20805df3908ae5fb8b7a6662d9
Eval Count 0
Decode Time 90 ms