Problems? Is your data what you think it is? | |
PerlMonks |
Re: Licensing model for CGIs using IP addresby coec (Chaplain) |
on Apr 21, 2004 at 04:16 UTC ( [id://346886]=note: print w/replies, xml ) | Need Help?? |
I could be way off base here (with respect to the question being asked) but here goes... If your script is running on the machine you are checking the IP of, you could do a 'netstat -i' or a 'ifconfig | grep "inet addr"' to get the list of IPs and parse the list (depending on your Unix variant.) Obviously, I'm assuming you're using Unix, under Win32 run 'ipconfig /all' CC
In Section
Seekers of Perl Wisdom
|
|