There are many ways of logging other people's ips.
Want to know how to do it in PERL?
Here's a tutorial on it:
I am doing it in CGI (Perl)
Nice? Or has it been posted before?
# Above is the path to perl interpreter
$countName = 'count.txt';
# Above is the name of file you want to save to nr. of
$variableName = 'count';
# above is the variable name you want to set to nr. of counts in flash
$count = <COUNT>;
print COUNT "$count";
print "Content-type: text/plain\n\n";