امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
Hi Everyone.
I'm trying to get the IP address of the website user in one of my addons.
In regular PHP sites you can do this:
I'm wondering what the xenforo 2 equivalent is. If anyone can help that would be much appreciated.
I'm trying to get the IP address of the website user in one of my addons.
In regular PHP sites you can do this:
$ip = $_SESSION['REMOTE_ADDR'];I'm wondering what the xenforo 2 equivalent is. If anyone can help that would be much appreciated.
