Heim  >  Artikel  >  Backend-Entwicklung  >  哪位高手帮小弟我制作一个自动获取某个wap页面的ASP或PHP或HTML代码

哪位高手帮小弟我制作一个自动获取某个wap页面的ASP或PHP或HTML代码

WBOY
WBOYOriginal
2016-06-13 13:50:311005Durchsuche

谁帮我制作一个自动获取某个wap页面的ASP或PHP或HTML代码?
谁帮我制作一个自动获取某个wap页面的ASP或PHP或HTML代码?
下面的地址是一个wap页面,我希望把里面的一部分内容,实时获取。。

http://qq.ip138.com/weather/fujian/AnXi.wml

把最后面的那些超链接替换成“返回首页”,地址是./index.wml

谢谢了!

我的网站比如是www.abc.com,我求的这个页面准备放在www.abc.com/iwap/weather.xxx,其中的xxx可以是PHP,也可以是ASP,如果是htm或wml那就更好了,哈哈。。(因为我自己的手机都是1.1的wap,对PHP之类的支持不太好。。。

------解决方案--------------------
include "Snoopy.class.php";
$Snoopy= new Snoopy;
$Snoopy->fetchtext("http://www.bbc.co.uk/");
echo $Snoopy->results;
?>

下载Snoopy.class.php文件,放在一起。
------解决方案--------------------
不好意思,你自己把网址改一下。

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn