, , , . IP- $ENV{'REMOTE_ADDR'}. , Sockets IO::Socket, API ( , C-) ; , Windows, NetBios 137, .
This method, however, has legal force in the gray area and may be classified in some countries as an attempt to gain unauthorized access to information ...
However, the user, simply accessing your page, reveals only the IP, useragent, referer and other information included in the HTTP headers.
If you need more information, you can do your own research, I gave you the basics ...
source
share