php获取客户端ip的最简单方法代码如下:


<?php
  echo $_SERVER["REMOTE_ADDR"];
?>
(adsbygoogle = window.adsbygoogle || []).push({});