Home >Backend Development >PHP Tutorial > 怎么获取客户端的IP或者MAC地址

怎么获取客户端的IP或者MAC地址

WBOY
WBOYOriginal
2016-06-13 13:48:161073browse

如何获取客户端的IP或者MAC地址
求一段代码获取客户端IP或者MAC地址,判断这个地址访问次数。超过10次禁止访问
网站被刷票机搞垮了 急急急。

------解决方案--------------------
php获取客户端IP地址的几种方法

PHP获取客户机的MAC地址是不行的。
------解决方案--------------------
IP能取得。MAC就免了

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn