How to know which version of the Internet Protocol (IP) a client is using when connecting to my server?

后端 未结 7 490
北海茫月
北海茫月 2020-12-04 19:38

I want to check via php if someone connects to my site via IPv4 or IPv6.

The client address can be found in $_SERVER[\"REMOTE_ADDR\"] but

7条回答
提交回复
热议问题