PHP implementation of the simulation login, you can have a taste of service urgent!!

Source: Internet
Author: User
PHP Demo Login

To implement the PHP simulator login website, you need to login to the website page:
Http://adc.jx139.com/initPageData.do?method=queryRightInfo&rightType=1

Manual transmission account password Verification code, PHP background to implement the simulation login!


Reply to discussion (solution)

Yes, I can.
It's simple.

Capture packet analysis inside the data transfer crawl cookie simulation commit

Seeing the version is so happy, I know the principle but not. My qq:21418592 can add I could pay 100 yuan under the meaning!

Now resolve the commit, but submit the past verification code always return expired!

Now this is the case, I use the program for the first time to use curl to crawl the verification code picture, manually fill in the verification code, the second commit the mock commit, the return is a verification code error.

I guess it's possible to run curl twice to get the other server, and the server might think it's two different users, so the CAPTCHA will never pass. Now this problem does not know how to solve, is to let multiple curl operation remote address, the other side think you are the same user as we use IE access. This should be able to pass the verification code. Do not know if you have a master moderator to point ideas or examples. Not very grateful!

Very simple:
1.curl simulation Gets the URL of the login page and the verification code picture, saves the cookie,
2. Export the acquired image data to the browser and display it on the browser.
3. The user submits a manual input verification code, and your server receives it and then submits it to this website using curl.
Note that to keep the session, the cookie cannot be lost

  • 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.