看板 PHP 關於我們 聯絡資訊
原本file_get_contend(); 是獲取http的內容 今天網站改成https就不能了 Warning: file_get_contents(https://domain/) [function.file-get-contents]: failed to open stream: Invalid argument in 錯誤內容 我後來把extension=php_openssl.dll打開 還是不行 是少做了哪些步驟嗎 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 60.251.55.25
kerash:網站如果不允許 fopen 取得那就不行 07/11 17:10
liaosankai:試著改用curl 07/11 18:30
dou0228:可以用 HttpRequest 07/11 21:06