时间:2021-07-01 10:21:17 帮助过:36人阅读
function get_flash_url( $url )
{
$lines = file($url);
foreach ($lines as $linenum=> $line) {
preg_match_all('|([^<>]+) |',$line,$result);
$swfurl=$result[1][0];
if(!empty($swfurl))
return $swfurl;
}
}
?> $url=$_SERVER["QUERY_STRING"];
$flashurl= get_flash_url($url);
echo preg_replace("/[&,?]/","",$flashurl);
?>