Re: PHP cURL to achieve simulation login and collection method of use
for some programs, it may judge the source URL, if it is found that referer is not its own website, then refuses access. At this time, we need to add CURLOPT_REFERER parameters, simulate the route, so that the program can be collected normally.
[code] $keyword ='PHP cURL';
/ / / / / / / / / $post ='wd='. URLEncode ($keyword);