pengxing 发表于 2007 年 6 月 11 日 14:05:54

疯了..file() file_get_contents()一用apache就挂

最后还是用的xmlhttp...
郁闷了...

y 发表于 2007 年 6 月 11 日 14:33:04

apache下怎么用xmlhttp。。。。。

长天 发表于 2007 年 6 月 11 日 15:07:51

估计是用js的xmlhttp吧?

还能注册马.甲么 发表于 2007 年 6 月 11 日 15:11:57

:( set_timelimit

y 发表于 2007 年 6 月 11 日 15:42:21

js的xmlhttp..异域的ie弹警告。。ff直接禁止。。这个。。怎么做采集。。

pengxing 发表于 2007 年 6 月 11 日 16:48:02

$xmlhttp = new COM("Microsoft.XMLHTTP") or die("无法创建Microsoft.XMLHTTP组件!");
        $xmlhttp->open("GET",$url,False, "", "");
        $xmlhttp->setRequestHeader("content-Type","text/html");
        $xmlhttp->send();
        $body=$xmlhttp->responseText;//获得页面内容

pengxing 发表于 2007 年 6 月 11 日 16:48:33

偶在自己机器测试玩呢..没在服务器的说...当然有xmlhttp
页: [1]
查看完整版本: 疯了..file() file_get_contents()一用apache就挂