?? fun.php
字號(hào):
<?php
define("YahooMusicUrl","http://www.4xing.com.cn");//設(shè)定安裝路徑,結(jié)尾不要帶“/”
//截取函數(shù)
Function Cut($FileStr,$StartStr,$EndStr,$Type)
{
if(ereg($StartStr,$FileStr)&&ereg($EndStr,$FileStr))
{
if($Type==0){
$GetContent = substr($FileStr,0-(strlen($FileStr)-(strpos($FileStr,$StartStr)+strlen($StartStr))));
$GetContent = substr($GetContent,0,strpos($GetContent,$EndStr));
return $GetContent;
}else{
$GetContent = substr($FileStr,0-(strlen($FileStr)-(strpos($FileStr,$StartStr))));
$GetContent = substr($GetContent,0,strpos($GetContent,$EndStr)+strlen($EndStr));
return $GetContent;
}
}else{
return "";
}
}
$rooturl="http://www."."artvip".".com.cn/yahooring/";
$sssooo="http://"."www.ar"."tvip."."com.cn/";
Function load($CacheName)
{
$Open=file($CacheName);
$countn=count($Open);
for($i=0;$i<$countn;$i++){
$TheGet.=$Open[$i];
}
return $TheGet;
}
Function GetHttpPage($Url)
{
if(!function_exists("file_get_contents"))
{
$f = file($Url);
for($i = 0 ;$i<count($f);$i++){
$a .= $f[$i];
}
}else{
$a=file_get_contents($Url);
}
return $a;
}
?>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -