try to get cURL extension, http://us2.php.net/curlhttp://curl.planetmirror.com/also see
http://www.tek-tips.com/faqs.cfm?fid=2502http://www.alt-php-faq.org/local/55/

解决方案 »

  1.   

    思归大哥的确牛,php也熟悉,http://www.tek-tips.com/faqs.cfm?fid=2502 就解决了楼主问题,佩服死我了,学习中
      

  2.   

    那还不简单利用open()函数,可以打开HTTP的文件,文件就是你那个文件的URL,后面挂上URL的参数,结果就可以返回到文件中,这样你就可以像处理本地文件一件处理HTTP文件了.
      

  3.   

    <?
    set_time_limit(100);$data['vendor_id']  = '12345';
    $data['vendor_pwd'] = 'qingxia';$url = "http://localhost/post.php";
    $url = parse_url($url);if (!$url) return "couldn't parse url";
    if (!isset($url['port'])) { $url['port'] = 80; }
    if (!isset($url['query'])) { $url['query'] = ""; }$fp = fsockopen($url['host'], 80);if (!$fp)
    {
        echo "Failed to open socket to $url[host]";
        fclose($fp);
        exit;
    }$content = "vendor_id=".$data['vendor_id']."&vendor_pwd=".$data['vendor_pwd']."&Submit=%CC%E1%BD%BB";$request  = "POST ".$url['path']." HTTP/1.1\r\n";
    $request .= "Host: ".$url['host']."\r\n";
    $request .= "Content-Type: application/x-www-form-urlencoded\r\n";
    $request .= "User-Agent: roastduck Http/1.1\r\n";
    $request .= "Accept-Language: zh-cn\r\n";
    $request .= "Content-length: ".strlen($content)."\r\n";
    $request .= "Connection: Keep-Alive\r\n\r\n";
    $request .= $content;fputs($fp, $request);while (!feof ($fp))

       $tmp .= fgets($fp, 4096); 

    fclose($fp);echo $tmp;?>
      

  4.   

    又提交到另一个表单上?
    这个表单你能控制吗?
    abc.php 难道就是个中转吗?那什么不从abc.htm直接提交到 那个http上去呢?
      

  5.   

    思路就是在abc.php里面用fopen()函数,打开需要跳转的页面,只不过这是get方式的,即参数(变量)需要挂在URL的后面。
    例子:
    fopen ("http://www.example.com/sample.php?id=$id&$UserName=$UserName&Password=$Password", "r");
    这样在sample.php里面处理这些参数变量即可
    记得最后关掉句柄
      

  6.   

    利用open方式可以不用扩展来完成指定功能!
      

  7.   


    使用HTTPS楼上几个看清楚阿起码端口是445另外协议肯定和HTTP有不同的地方,不然怎么体现"S"呢?呵呵
      

  8.   

    谢谢各位,问题还是hackfan说的,记得是HTTPS,而且本身的服务器支持HTTPS
    hackfan熟悉吗?
      

  9.   

    我不熟悉HTTPS,因为它比HTTP复杂很多不过我相信网上有PHP的HTTPS操作类你可以去GOOGLE找一下