I found that the webpage on the cloud cannot be crawled. Is there any way to crack it ??

Source: Internet
Author: User
I found that the webpage on the cloud cannot be crawled. Is there any way to crack it ?? Echo file_get_contents ("http://weibo.yunyun.com/Weibo.php? Q = % E7 % A8 % 8B % E5 % BA % 8F % E5 % 91% 98 # p = 1 & q = % E7 % A8 % 8B % E5 % BA % 8F % E5 % 91% 98 ");


The verification code is required.



I used curl to forge the source address and ip address. I cannot crawl the source address. what can I do to crack it ??


Reply to discussion (solution)

Nobody knows ???

Where did the experts go ??

You can use curl to capture data.

$ Ch = curl_init (); // Set the URL and the corresponding options curl_setopt ($ ch, CURLOPT_URL, "http://weibo.yunyun.com/Weibo.php? P = 1 & q = % E7 % A8 % 8B % E5 % BA % 8F % E5 % 91% 98 "); curl_setopt ($ ch, CURLOPT_HEADER, 0 ); // capture the URL and pass it to the browser curl_exec ($ ch); // Close the cURL resource and release the system resource curl_close ($ ch );

Why can't I do it here ??

 

On the third floor, I found that local data can be obtained normally and cannot be obtained on the server.

Is your server not connected to the Internet?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.