$url="https://login.taobao.com/";
$fp=fopen($url,"r");
$fcontent=file_get_contents($url);
echo $fcontent;
这个该如何打开啊

解决方案 »

  1.   

    你先配置 PHP 支持 OpenSSL
      

  2.   

    在PHP5 安装的文件夹 找到 libeay32.dll ssleay32.dll 和 ./ext 下 php_openssl.dll 
    这3个动态连接库 放在 c:\windows\system32 
    然后 restart apache
      

  3.   

    还有在 php.ini 里面 把extension=php_openssl.dll 去屌 ;
    然后 restart apache抱歉 之前说漏了
      

  4.   


     libeay32.dll ssleay32.dll 和 ./ext 下 php_openssl.dll  这三个是复制过去 还是剪切过去啊
      

  5.   

    不行啊
    Warning: fopen() [function.fopen]: Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in E:\php\tset\newfile.php on line 10Warning: fopen(https://login.taobao.com) [function.fopen]: failed to open stream: Invalid argument in E:\php\tset\newfile.php on line 10Warning: file_get_contents() [function.file-get-contents]: Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in E:\php\tset\newfile.php on line 11Warning: file_get_contents(https://login.taobao.com) [function.file-get-contents]: failed to open stream: Invalid argument in E:\php\tset\newfile.php on line 11