断开与 php 的拨号连接
我有一个客户端应用程序,它要求我重试互联网连接,以便主机获取新的 IP。问题是,我找不到使用 php 断开互联网连接并重新连接的方法。有什么想法吗?
I have an application for a client and it asks me to 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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您必须让安装在他的机器上的 PHP 执行一个可以反弹调制解调器的外部程序。快速 Google 搜索发现 这个。这个或类似的东西可能会派上用场。
当然,Apache 帐户必须具有足够的权限才能影响调制解调器并执行程序。
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.