一段PHP代码,被加密了,用编辑器打开是乱码,如何解密?

由于乱码超过字数,所以没贴出来,求各位大侠留个QQ,我可以请教下大家!!非常感谢

第1个回答  2015-01-30
<?php
define('allcity_page',true); require_once(dirname(__FILE__)."/f/global.php"); include_once(ROOT_PATH."data/all_area.php"); if($webdb[Info_allcityType]==1){ $query = $db->query("SELECT * FROM {$_pre}city ORDER BY fup ASC,list DESC"); while($rs = $db->fetch_array($query)){ $listdb[$rs[fup]][]=$rs; } } require(dirname(__FILE__)."/f/global.php"); if($jobs=='show'){ if(!$city_id){ foreach( $city_DB[name] AS $key=>$value){ $city_id=$key; break; } } }elseif(!$city_id){ require(dirname(__FILE__)."/allcity.php"); exit; }elseif($city_DB[domain][$city_id]){ if(preg_replace("/http:\/\/([^\/]+)\/(.*)/is","http://\\1",$WEBURL)!=$city_DB[domain][$city_id]){ header("location:".$city_DB[domain][$city_id]); exit; } } $Cache_FileName=ROOT_PATH."cache/index/$city_id/index.php"; if(!$jobs&&!$MakeIndex&&$webdb[Info_index_cache]&&(time()-filemtime($Cache_FileName))<($webdb[Info_index_cache]*60)){ echo read_file($Cache_FileName); exit; } if(count($city_DB[name])>1&&$webdb[Info_htmlType]==2){ foreach( $city_DB[name] AS $key=>$value){ if(!$city_DB['dirname'][$key]){ } } } require(ROOT_PATH."data/friendlink.php"); $titleDB['title'] = $city_DB['metaT'][$city_id]?seo_eval($city_DB['metaT'][$city_id]):"{$city_DB[name][$city_id]} $webdb[webname]"; $titleDB['keywords'] = $city_DB['metaK'][$city_id]?seo_eval($city_DB['metaK'][$city_id]):$webdb['metakeywords']; $titleDB['description'] = $city_DB['metaD'][$city_id]?seo_eval($city_DB['metaD'][$city_id]):$webdb['description']; if($city_DB[tpl][$city_id]){ list($head_tpl,$foot_tpl,$index_tpl)=explode("|",$city_DB[tpl][$city_id]); $head_tpl && $head_tpl=Mpath.$head_tpl; $foot_tpl && $foot_tpl=Mpath.$foot_tpl; $index_tpl && $index_tpl=Mpath.$index_tpl; } $chdb[main_tpl] = html("index",$index_tpl); $ch_fid = $ch_pagetype = 0; $ch_module = $webdb[module_id]?$webdb[module_id]:99; require(ROOT_PATH."inc/label_module.php"); $listdb_moresort=Info_ListMoreSort($webdb[InfoIndexCSRow],$webdb[InfoIndexCSLeng],$city_id); $InfoNum=get_infonum($city_id); require(Mpath."inc/head.php"); require(html("index",$index_tpl)); require(Mpath."inc/foot.php"); if(!$jobs&&!$MakeIndex&&$webdb[Info_index_cache]&&(time()-filemtime($Cache_FileName))>($webdb[Info_index_cache]*60)){ if(!is_dir(dirname($Cache_FileName))){ makepath(dirname($Cache_FileName)); } write_file($Cache_FileName,$content); }elseif($jobs=='show'){ @unlink($Cache_FileName); } ?>本回答被网友采纳
第2个回答  2015-01-12
吧文件以附件的形式发出来追问

这个好像不能提交附件吧?

追答

可以

追问

这个有级别限制,好像,我级别很低,不能提交附件

追答

额,你可以上传到百度网盘上,然后发出来。

追问

麻烦帮我解密一下这个php,然后网盘发我下,非常感谢

第3个回答  2015-01-14
肯定是编码问题

相关了解……

你可能感兴趣的内容

本站内容来自于网友发表,不代表本站立场,仅表示其个人看法,不对其真实性、正确性、有效性作任何的担保
相关事宜请发邮件给我们
© 非常风气网