【发布时间】:2012-12-25 19:02:35
【问题描述】:
有没有办法在网页上获取 hamachi 连接状态?我找到了这个链接:
这应该给出具有给定 ip 的客户端的基于文本的状态。
但它不起作用。我被重定向了。
我想要一个可以使用 ajax、php 和/或 html5 显示的状态。没有像 flash 或 java 这样的第三方应用程序。
【问题讨论】:
标签: php ajax html web-applications hamachi
有没有办法在网页上获取 hamachi 连接状态?我找到了这个链接:
这应该给出具有给定 ip 的客户端的基于文本的状态。
但它不起作用。我被重定向了。
我想要一个可以使用 ajax、php 和/或 html5 显示的状态。没有像 flash 或 java 这样的第三方应用程序。
【问题讨论】:
标签: php ajax html web-applications hamachi
这是使用 jQuery 的客户端解决方案:
$.get("http://my.hamachi.cc/status/text.php?5.x.x.x", function(data) {
$('resultDiv').append( data );
});
【讨论】: