Logging ip hostname and username (1.4.2) Logging ip hostname and username (1.4.2)
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Logging ip hostname and username (1.4.2)

Started by Scope, December 18, 2005, 03:21:52 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Scope

Hi,

I have logging switched on in coppermine (1.4.2), however it only logs the IP address, not the hostname (this is switched on in apache). Is there a way to log the hostname, but since my album is private, more importantly the username?  I'd imagine this is a fairly easy hack to do, as you know the username when you get the photo.  Anybody come across this?

If the username is recorded it would be easy to have a link on the edit user page to show which photos a certain user had viewed, which could be useful aswell.