文章标题 文章标题 文章标题 文章标题

来源:互联网 发布:mac终端怎么进服务器 编辑:程序博客网 时间:2024/04/25 15:43

文章正文文章正文文章正文文章正文文章正文文章正文文章正文文章正文文章正文文章正文文章正文文章正文文章正文文章正文文章正文

 

文章正文文章正文文章正文文章正文文章正文文章正文文章正文文章正文文章正文文章正文文章正文


文章正文文章正文文章正文文章正文文章正文文章正文文章正文文章正文文章正文文章正文文章正文文章正文文章正文文章正文文章正文

 

文章正文文章正文文章正文文章正文文章正文文章正文文章正文文章正文文章正文文章正文文章正文文章正文文章正文文章正文文章正文文章正文文章正文文章正文文章正文文章文章正文文章正文文章正文文章正文文章正文文章正文文章正文文章正文文章

 
文章正文文章正文文章正文文章正文文章正文文章正文文章正文文章正文文章正文文章正文文章正文

文章正文文章正文文章正文文章正文文章正文文章正文文章正文文章正文文章正文文章正文文章正文

 

 

<table width="100%" class=board><tr><td align=center onmouseout="this.style.backgroundColor='<?php echo $color[0] ?>'"  onMouseOver="this.style.backgroundColor='<?php echo $color[2] ?>'">
<?php
require("config.php");
mysql_connect($dbHost.':'.$dbPort,$dbUser,$dbPasswd);
mysql_select_db($dbName);
mysql_query("SET NAMES 'GB2312'");

$fullpath=$_GET["path"];
$name=substr(strrchr($fullpath,'/'),1);
$path=substr($fullpath,0,strlen($fullpath)-strlen($name)-1);
$type=substr(strrchr($fullpath,'.'),1);
$name=substr($name,0,strlen($name)-strlen($type)-1);

$result=mysql_query("SELECT lrc FROM song WHERE path='$path' AND name='$name'");
$row=mysql_fetch_row($result);
if($row[0]==1)
{
    
//$lrcfile="ftp://".$ftpUser.":".$ftpPasswd."@".$ftpHost.":".$ftpPort.$_GET["path"];
    //$lrcfile=subfile($lrcfile,0,strlen($lrcfile)-4)."lrc";

    $lrcfile="ftp://".$ftpDlUser.":".$ftpDlPasswd."@".$ftpHost.":".$ftpPort.$path.'/'.$name.'.lrc';
    
$fp=@fopen($lrcfile,'r');
    
while($line=@fgets($fp,1000)) echo substr(strrchr($line,']'),1)."<br>";
}
?>
</td></tr></table>
原创粉丝点击