Is it possible to find and store the IP address information of anyone that visits your site?
I know there are sites and images that show your IP Address, browser, OS, possible location, etc.
Could you have some way of writing this found information into a database, or would that be too much of a security flaw?
I'm not talking about tracert commands, IP locators, etc.
EDIT: Sorry if i wasn't clear enough for anyone, I was meaning something like a PHP, HTML or Java code that logs the visitors IP Address (And if possible, some other miscellaneous information) on a .txt file or something similar.