首页 > 代码库 > php获取本地IP

php获取本地IP

if (isset($_ENV["HOSTNAME"]))	$source = $_ENV["HOSTNAME"];else if  (isset($_ENV["COMPUTERNAME"]))	$source = $_ENV["COMPUTERNAME"];else 	$source = "";

  

php获取本地IP