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 unicode_decode($str){return mb_convert_encoding(pack('H*', $str), 'UTF-8', ..
Decoded Output download
<?php function unicode_decode($str){return mb_convert_encoding(pack('H*', $str), 'UTF-8', 'UCS-2BE');}function unicode_encode($str){return '_u_u'.strtoupper(bin2hex(iconv('UTF-8', 'UCS-2BE', $str)));}function str2datetime($datetime){$yyyy=substr($datetime,0,4);$mm=substr($datetime,4,2);$dd=substr($datetime,6,2);$hh=substr($datetime,8,2);$MM=substr($datetime,10,2);$ss=substr($datetime,12,2);return date("Y-m-d H:i:s", strtotime($yyyy.'-'.$mm.'-'.$dd.' '.$hh.':'.$MM.':'.$ss));}function str2date($datetime){$yyyy=substr($datetime,0,4);$mm=substr($datetime,4,2);$dd=substr($datetime,6,2);$hh=substr($datetime,8,2);$MM=substr($datetime,10,2);$ss=substr($datetime,12,2);return date("Y-m-d", strtotime($yyyy.'-'.$mm.'-'.$dd));}function getUrlContent($url){$ch=curl_init();curl_setopt($ch, CURLOPT_URL, $url);curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)');curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);curl_setopt($ch, CURLOPT_TIMEOUT, 5);$data=curl_exec($ch);$httpcode=curl_getinfo($ch, CURLINFO_HTTP_CODE);curl_close($ch);return ($httpcode>=200 && $httpcode<300) ? $data : false;} ?>
Did this file decode correctly?
Original Code
<?php function unicode_decode($str){return mb_convert_encoding(pack('H*', $str), 'UTF-8', 'UCS-2BE');}function unicode_encode($str){return '_u_u'.strtoupper(bin2hex(iconv('UTF-8', 'UCS-2BE', $str)));}function str2datetime($datetime){$yyyy=substr($datetime,0,4);$mm=substr($datetime,4,2);$dd=substr($datetime,6,2);$hh=substr($datetime,8,2);$MM=substr($datetime,10,2);$ss=substr($datetime,12,2);return date("Y-m-d H:i:s", strtotime($yyyy.'-'.$mm.'-'.$dd.' '.$hh.':'.$MM.':'.$ss));}function str2date($datetime){$yyyy=substr($datetime,0,4);$mm=substr($datetime,4,2);$dd=substr($datetime,6,2);$hh=substr($datetime,8,2);$MM=substr($datetime,10,2);$ss=substr($datetime,12,2);return date("Y-m-d", strtotime($yyyy.'-'.$mm.'-'.$dd));}function getUrlContent($url){$ch=curl_init();curl_setopt($ch, CURLOPT_URL, $url);curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)');curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);curl_setopt($ch, CURLOPT_TIMEOUT, 5);$data=curl_exec($ch);$httpcode=curl_getinfo($ch, CURLINFO_HTTP_CODE);curl_close($ch);return ($httpcode>=200 && $httpcode<300) ? $data : false;} ?>
Function Calls
None |
Stats
MD5 | 0bedfc4004f47193535158372aa8bb7d |
Eval Count | 0 |
Decode Time | 147 ms |