Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Licensing model for CGIs using IP addres

by coec (Chaplain)
on Apr 21, 2004 at 04:16 UTC ( [id://346886]=note: print w/replies, xml ) Need Help??


in reply to Licensing model for CGIs using IP addres

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://346886]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-03-29 07:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found