\n";
for ($i = 0; $i < count($arr_xml['URL']); $i++) {
if( isset($arr_xml['PostID'][$i]) && $arr_xml['PostID'][$i] > 0 ) continue;
echo "
".$arr_xml['BeforeText'][$i]." ".$arr_xml['Text'][$i]." ".$arr_xml['AfterText'][$i]."\n";
}
echo "";
}
}
function tla_updateLocalXML($url, $file, $time_out)
{
if($handle = fopen($file, "a")){
fwrite($handle, "\n");
fclose($handle);
}
if($xml = file_get_contents_tla($url, $time_out)) {
$xml = substr($xml, strpos($xml,''));
if ($handle = fopen($file, "w")) {
fwrite($handle, $xml);
fclose($handle);
}
}
}
function tla_getLocalXML($file)
{
$contents = "";
if($handle = fopen($file, "r")){
$contents = fread($handle, filesize($file)+1);
fclose($handle);
}
return $contents;
}
function file_get_contents_tla($url, $time_out)
{
$result = "";
$url = parse_url($url);
if ($handle = @fsockopen ($url["host"], 80)) {
if(function_exists("socket_set_timeout")) {
socket_set_timeout($handle,$time_out,0);
} else if(function_exists("stream_set_timeout")) {
stream_set_timeout($handle,$time_out,0);
}
fwrite ($handle, "GET $url[path]?$url[query] HTTP/1.0\r\nHost: $url[host]\r\nConnection: Close\r\n\r\n");
while (!feof($handle)) {
$result .= @fread($handle, 40960);
}
fclose($handle);
}
return $result;
}
function tla_decodeXML($xmlstg)
{
if( !function_exists('html_entity_decode') ){
function html_entity_decode($string)
{
// replace numeric entities
$string = preg_replace('~([0-9a-f]+);~ei', 'chr(hexdec("\1"))', $string);
$string = preg_replace('~([0-9]+);~e', 'chr(\1)', $string);
// replace literal entities
$trans_tbl = get_html_translation_table(HTML_ENTITIES);
$trans_tbl = array_flip($trans_tbl);
return strtr($string, $trans_tbl);
}
}
$out = "";
$retarr = "";
preg_match_all ("/<(.*?)>(.*?)", $xmlstg, $out, PREG_SET_ORDER);
$search_ar = array('<', '>', '"');
$replace_ar = array('<', '>', '"');
$n = 0;
while (isset($out[$n]))
{
$retarr[$out[$n][1]][] = str_replace($search_ar, $replace_ar,html_entity_decode(strip_tags($out[$n][0])));
$n++;
}
return $retarr;
}
tla_ads();
?>
Comments (13)
呵呵。我现在用软件都尽量用绿色免安装版。包括 DW FLASH PS 。。。
Posted by kvgnt | March 4, 2007 12:42 PM
Posted on March 4, 2007 12:42
System Safety Monitor/IceSword/Process Explorer&Unlocker....:D
Nod32......Chkrootkit....Outpost
这样一连串下来再不行,就格式化算了...
个人感觉Bit Defender甚至连KV都不如....真不知道为什么那么有名
UnHackMe?对它在干什么一直很不放心.....Trojan还是AVG较好....
上千个字体?可以备份吖
而且那么多字体对于启动速度不也是干扰?
Posted by LuoboTIxS | March 4, 2007 2:22 PM
Posted on March 4, 2007 14:22
System Safety Monitor/IceSword/Process Explorer&Unlocker....:D
Nod32......Chkrootkit....Outpost
这样一连串下来再不行,就格式化算了...
个人感觉Bit Defender甚至连KV都不如....真不知道为什么那么有名
UnHackMe?对它在干什么一直很不放心.....Trojan还是AVG较好....
上千个字体?可以备份吖
而且那么多字体对于启动速度不也是干扰?
Posted by LuoboTIxS | March 4, 2007 2:22 PM
Posted on March 4, 2007 14:22
应该存在一个评论发布延时机制...
Posted by Luobotixs | March 4, 2007 2:24 PM
Posted on March 4, 2007 14:24
软件可以重装,字体可以保留的啊....
Posted by jelly | March 4, 2007 6:01 PM
Posted on March 4, 2007 18:01
是的。字体都还在。只不过又要重头装啊。
我字体共分了七八个目录,有常用的不常用的,所以安装时还是要费心思选的。
软件安装文件也是有的,但是数量多,装起来麻烦啊...
sigh...
Posted by 黑羽 | March 4, 2007 6:11 PM
Posted on March 4, 2007 18:11
to LuoboTIxS:
没有办法,设计的时候东装一些字体,西装一些字体。好字体又不断出现,结果就越装越多了。
对启动是有影响的,不过好像不大
Posted by 黑羽 | March 4, 2007 6:14 PM
Posted on March 4, 2007 18:14
我也最怕装系统,同情..
Posted by mededu | March 5, 2007 10:05 AM
Posted on March 5, 2007 10:05
可以尝试用AMPFONT管理字体~
Posted by LuoboTixS | March 7, 2007 5:34 PM
Posted on March 7, 2007 17:34
好的选择nod32+avg+天网
就没问题了。
再加一个SReg
Posted by pallove | March 8, 2007 9:05 AM
Posted on March 8, 2007 09:05
SReg?好像并不咋样....
LSP和Run的问题直接用AVG Antispyware就可以搞定
其他的似乎没什么特色..
系统环境报告一直用HijackThis
Posted by LuoboTixS | March 10, 2007 4:08 PM
Posted on March 10, 2007 16:08
装好系统,做个IBM一键还原吧!以绝后患!
Posted by dansion | March 29, 2007 11:13 AM
Posted on March 29, 2007 11:13
你可真会吹,你试过在安全模式下删除吗?
你试过用国人的骄傲工具冰刃删除吗?
Posted by 阳光少年 | October 3, 2007 7:59 AM
Posted on October 3, 2007 07:59