How to capture the prompt user name and password page in the pop-up window of php-php Tutorial

Source: Internet
Author: User
How does php capture a webpage that prompts the user name and password in the pop-up window. I want to capture a page of a website, but this page jumps out of a window during normal & nbsp; access, prompting me to enter the user name and password. It is not the user name and password on the page, but a pop-up window similar to the one used to access the vro. I know the user name and password. what if I can capture the content on this page? In php, how does one capture the webpage that prompts the user name and password in the pop-up window.
I want to capture a page of a website, but this page will jump out of a window during normal access, prompting me to enter the user name and password.
It is not the user name and password on the page, but a pop-up window similar to the one used to access the vro.
I know the user name and password. what if I can capture the content on this page?

Php content capture


------ Solution --------------------
Curl
Set
CURLOPT_USERAGENT
CURLOPT_USERPWD

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.