Save Information about visitors

Hi Digi community,

I would like to save information about the visitors. Is it possible, for example to get the IP address of visitors ? I want to build counter for visitors and save addresses in a file.

Thanks

Marcus