Curl was relatively stable before grabbing the page, but then it outputted an empty page.
-Yang
-Yang 2019-09-14 13:34:13
0
1
1198

http://live.500.com/2h1.php

This is the address. I have constructed the IP origin and browser header file, etc. How can I crawl this URL

function curl_file_get_contents_nossl($durl){

$r = rand( 80,255);

$useragent = array(

'Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0)',

'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2)',

'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)',

#
-Yang
-Yang

reply all(1)
-Yang

It has been solved, but there is too much data,,,,

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!