Yes, what was said on the first floor is very complete. These two methods are usually used to obtain page information, file_get_contents and curl request
replyThe default installation of curl does not support the https protocol. Do I need to add this?
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false );
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false );
replyI don’t know much about curl. This is a piece of code I copied from the Internet. I tested that it can crawl HTTPS web page data and sent it to you.
Use curl to crawl the website and pay attention to https
Yes, what was said on the first floor is very complete. These two methods are usually used to obtain page information, file_get_contents and curl request
You can use file_get_contents or curl code: