$fp=fopen($file_name,"r");
$file_content=fread($fp,filesize($file_name));
$note=explode('\n',$file_content);
ehco $note[2];
$file_content=fread($fp,filesize($file_name));
$note=explode('\n',$file_content);
ehco $note[2];
$third=substr($a,strstr($a,"\r",3),strstr($a,"\r",4));
大体这样。手册不在身边,没法查是哪个函数了(strstr这个)。是那个获得第几次出现的位置的那个。