[thelist] PHP - IP lookup

CDitty mail at redhotsweeps.com
Tue Oct 9 06:02:35 CDT 2001


Thanks.  You pointed me in the right direction.

Here is some code to do that -
$host = gethostbyaddr($REMOTE_ADDR);

CDitty


At 11:30 PM 10/8/2001, you wrote:
>At 07:32 PM 10/8/2001, you wrote:
>>Does anyone know how to do an ip lookup on the fly from a website name 
>>with php?
>
>Maybe do an nslookup via the system function?
>---
>Anthony Baratta
>President
>Keyboard Jockeys
>
>"Conformity is the refuge of the unimaginative."
>
>
>---------------------------------------
>For unsubscribe and other options, including
>the Tip Harvester and archive of TheList go to:
>http://lists.evolt.org Workers of the Web, evolt !





More information about the thelist mailing list