Page 1 of 1

Unknown IP in logging table

Posted: 11 Aug 2016, 06:29
by kenleehk
Dear all,

I see occasionally entries in my logging table, ip cell is 'unknown', but most other entries are ok, showing the ip address of the download clients.
I could find the corresponding httpd log entries of those unknown rows. I see IP addresses are logged, but they just appear 'unknown' in logging table.
Would you kindly advise?
Phoca Download 3.1.2 on
Joomla 3.4.5 on CentOS.

Thanks a lot.

Re: Unknown IP in logging table

Posted: 11 Aug 2016, 23:36
by Jan
Hi, the IP is set by PHP constant:
$data['ip'] = $_SERVER["REMOTE_ADDR"];
Jan