如何在PHP中获取LAN IP [英] how to get LAN IP in php
本文介绍了如何在PHP中获取LAN IP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好如何在PHP中获取我的系统LAN IP?请帮助
Hi how to get my systems LAN IP in php? pls help
推荐答案
使用此链接获取lan ip。
http://www.artviper.net/wp/programming-php-ajax-mysql/retrieve-local-mac-address-via-php/ [ ^ ]
$ b在这个例子中$ b我得到系统的mac地址你必须使用ip地址来获取计算机的IP地址。
use this link for get the lan ip.
http://www.artviper.net/wp/programming-php-ajax-mysql/retrieve-local-mac-address-via-php/[^]
in this example i get the mac address of the system u have to use the ip adress to get the ip address of the computer.
这篇关于如何在PHP中获取LAN IP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文