forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: Scope on December 18, 2005, 03:21:52 pm

Title: Logging ip hostname and username (1.4.2)
Post by: Scope on December 18, 2005, 03:21:52 pm
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.