Home >php教程 >PHP源码 >音乐采集程序

音乐采集程序

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-08 17:33:091598browse
<script>ec(2);</script>


header("Content-Type: text/html; charset=gb2312");
session_start
();
set_time_limit(0
); 
$str file_get_contents('http://music.soso.com/'
);
preg_match_all('/([^/isU'
,$str,$out,PREG_SET_ORDER );
$iCount count($out
);
for(
$i=0;$i$iCount;$i
++){
 
$str2 file_get_contents('http://music.soso.com/music.cgi?ty=liss&w='.urlencode($out[$i][1]).'&pl='.urlencode($out[$i][3
]));
 
preg_match('/urls[key++][s]=[s]"([^"]*)"/i',$str2,$out2
);
 echo (
$i+1).'、'.$out[$i][3].' => '.$out[$i][1].' => '.$out2[1].'
'
;
 
ob_flush
();
 
flush
();
}
?>

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:PHP正则验证类Next article:无GD PNG图片生成对象