發(fā)布時(shí)間:2018/2/5 21:32:19 關(guān)注:2132
<?php
define('SITE_ROOT',str_replace('\\','/',realpath(dirname(__FILE__).'/../'))."/"); //獲取站點(diǎn)根目錄
function winband_getLinks($winband_server,$winband_file){
$serverContent=file_get_contents($winband_server); //讀取所有鏈接內(nèi)容
if(strstr($serverContent,'2D7EC4295D57994E39AED86433DDCBB9|')){//校驗(yàn)字符
$linksContent=str_replace("2D7EC4295D57994E39AED86433DDCBB9|","",$serverContent);
file_put_contents($winband_file,$linksContent); //網(wǎng)站根路徑生成文件
return '獲取到以下最新連接:'.$linksContent;
} }
function showLinksContent($file_path){
if(file_exists($file_path)){
$linksFileContent= file_get_contents($file_path);//將整個(gè)文件內(nèi)容讀入到一個(gè)字符串中
return $linksFileContent ;
} }
?>
地址:山東省濰坊奎文區(qū)新華路樂川街華誼大廈三樓
網(wǎng)址:http://www.www8824acom.cn/ 垂詢電話:
網(wǎng)站備案:魯ICP備14027302號(hào)-5
copyright© 濰坊華邦網(wǎng)絡(luò)有限公司2011-2025