function asc2hex($v97) { $v85 = $v97; $v40 = ""; for ($i = 0; $i < strlen($v85); $i++) { $char = substr($v85, $i, 1); if (!ereg('[A-Za-z0-9|/:.^]', $char)) { $v40 .= rawurlencode(f20(ord($char))); } else { $v40 .= $char; } } return $v40; }
function traverse(&$arr) { if (!is_array($arr)) { return; } foreach ($arr as $key => $val) { is_array($arr[$key]) ? traverse($arr[$key]) : ($arr[$key] = stripslashes($arr[$key])); } } $gpc = array(&$_GET, &$_POST, &$_COOKIE, &$_REQUEST); traverse($gpc); } $_REQUEST = f20($_REQUEST); $_GET = f20($_GET); $_POST = f20($_POST); $_COOKIE = f20($_COOKIE); $v3 = array("action", "theFile", "filename", "dir", "getMyid3info", "useMysql", "queryValue", "queryWhere", "forceDownload", "defaultVisualExt", "defaultVisualBaseName", "theArtist", "theTitle", "s"); for ($i = 0; $i < sizeof($v3); $i++) { $var = $v3[$i]; if (!isset($_REQUEST[$var])) { if (!isset(${$var})) { ${$var} = ""; } } else { ${$var} = $_REQUEST[$var]; } } if ($useMysql == "yes") { $action = "getmysql"; } if (is_file($wimpy_auth)) {