View Single Post
  #6  
Old 16th March 2015, 15:44
UFFENO1 UFFENO1 is offline
Senior Member
 
Join Date: Sep 2008
P2P
Posts: 24
Smile hex2bin
In common.php do this:

Code:
/*
function hex2bin ($input, $assume_safe=true)
{
    if ($assume_safe !== true && ! ((strlen($input) % 2) === 0 || preg_match ('/^[0-9a-f]+$/i', $input)))
        return "";
    return pack('H*', $input );
}
*/
Reply With Quote