<?php
header("Content-Type: text/xml;");
$word=$_SERVER["QUERY_STRING"];
$url=$word;
$contents=@file_get_contents($url);
echo $contents;
?>
可将上述代码URL更改$url="http://rss.sina.com.cn/sina_all_opml.xml";
或者直接
*.php?http://rss.sina.com.cn/sina_all_opml.xml
进行测试