开发者

disconnect dialup from php

I have an application for a client and it asks me to开发者_Python百科 retry the internet connection in order for the host to acquire a new ip. Problem is, I can't find a way to disconnect and connect back again with the internet connection using php. Any ideas?


You'd have to have the PHP installed on his machine execute an external program that could bounce the modem. A quick Google search found this. That or something similar might come in handy.

Of course, the Apache account will have to have sufficient permissions to be able to affect the modem and execute the program.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜