current user ip address
« on: December 28, 2021, 04:10:50 PM »
I am looking for a variable that can be used to call the current user's ip address.

something similar to the following:

<?php echo $user['ipaddress']; ?>

the last access ip address under users would work but I can't seem to locate it.

appreciate any help you can give ...

*

MB Themes

Re: current user ip address
« Reply #1 on: December 28, 2021, 08:31:10 PM »
@kontrakontrarian
There are 2 options.
- you want to get IP of current user
- you want to get IP of some user

In first case, you have function:
Code: [Select]
osc_get_ip()
In second case:
Code: [Select]
$user['s_access_ip']
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots