php urldecode 解码代码

header(‘Content-Type: text/html; charset=utf-8’);
function unscrambler($code) {
if(! is_array($code)) {
$code = str_replace(‘__FILE__’, “‘$code'”, str_replace(‘eval’, ‘$code=’, file_get_contents($code)));
eval(‘?>’ . $code);
}else {
extract($code);
$code = str_replace(“eval”, ‘$code=’, $code);
eval($code);
}
if(strstr($code, ‘eval’)) return unscrambler(get_defined_vars());
else return $code;
}
echo unscrambler(‘a.php’);//要解码的文件路径

发表评论

您的电子邮箱地址不会被公开。

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据