开发者

Changing computer's IP via PHP without resetting adsl modem (from localhost - xampp)

开发者 https://www.devze.com 2023-02-06 02:08 出处:网络
First of all, i know, its a so crazy question. Please don\'t abuse on me. Im so sorry for taking your time. But, you know, there is no stupid question.

First of all, i know, its a so crazy question. Please don't abuse on me. Im so sorry for taking your time. But, you know, there is no stupid question.

Question: Why i asked this crazy question?

Answer: Because, im using laptop (wireless connection), and i usually use my laptop in the kitchen or other r开发者_如何学Cooms, and i must go to adsl modem to reset it whenever i need to change my ip. Every time i need to go to my room to reset my modem.

Well, i found a way to reset it by going to 192.168.2.2. however it is also taking my at least 3 minutes. So slow.

Today, i found a program: Router Reconnect 1.3 . This program shocked me, because it is getting new ip from my isp within the only 6 seconds without resetting my modem.

Well, You know, we love php :) Then, i asked myself, hey why can we do same job by using php on our localhosts?

Can we change our ip without resetting adsl modem by using php on our localhosts?

Note that: Im not talking about spoofing ip, using proxy. I just want to change my legal ip without resetting the modem within the only few seconds easily.

C'mon guys, lets discuss it.

Regards


I found this site that has URLs to access the reconnect feature on the router. It uses cURL from the command line, but you could perhaps use PHP's cURL extension as well... Though the command line is probably more streamlined, no point loading the PHP binary if the command line will do..

http://www.paehl.de/reconnect/

0

精彩评论

暂无评论...
验证码 换一张
取 消