PHP使用CURL詳解(二)

CURL的優勢: 在php中可以很容易的獲取某個url的內容,只要通過file_get_contents,file或者readfile函數就能輕鬆實現,根本不必使用cURL: $content = file_get_contents("http://www.360weboy.com"); $lines = file("http://www.360weboy.com"); readfile("ht
相關文章
相關標籤/搜索