添加一行curl_setopt:
curl_setopt($ch,CURLOPT_FOLLOWLOCATION,1);
这句话的意思是当遇到location跳转时,直接抓取跳转的页面。
?
参考链接:
https://blog.csdn.net/Angus_01/article/details/82467652
https://blog.csdn.net/linux4fun/article/details/50014961
2022-09-26 10:04:55
添加一行curl_setopt:
curl_setopt($ch,CURLOPT_FOLLOWLOCATION,1);
这句话的意思是当遇到location跳转时,直接抓取跳转的页面。
?
参考链接:
https://blog.csdn.net/Angus_01/article/details/82467652
https://blog.csdn.net/linux4fun/article/details/50014961
下一篇:html 展板显示