PHP captures the TP-Link page to obtain the Internet IP address script

Source: Internet
Author: User
Basically, it's a tough job. Because DDNS scripts often encounter network crawling failures when capturing Internet IP addresses from the Internet, they write such scripts and directly capture them from the TP-Link page, the success rate is basically 100% ~ There are two versions, one for the old TP-Link router (the IP address is directly written on the page, although

Basically, it's a tough job. Because DDNS scripts often encounter network crawling failures when capturing Internet IP addresses from the Internet, they write such scripts and directly capture them from the TP-Link page, the success rate is basically 100% ~ There are two versions, one for the old TP-Link router (the IP address is directly written on the page, although

Basically, it's a tough job. Because DDNS scripts often encounter network crawling failures when capturing Internet IP addresses from the Internet, they write such scripts and directly capture them from the TP-Link page, the success rate is basically 100% ~

There are two versions, one for the old TP-Link router (the IP address is directly written on the page, although in the JavaScript part ), one is for the new TP-Link router (the IP address is obtained by another call ). Because the type of the TP-Link router that can be accessed is limited, there are only two versions. If you have an old TP-Link router, and this PHP script is not easy to use ......

This code is released under the WTFPL license agreement. You can obtain the content of this License Agreement here: Wikipedia: WTFPL

Original article address: PHP captures the TP-Link page to obtain the Internet IP address script. Thank you for sharing it with the original author.

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.