View Single Post
Old 12-29-2004, 02:07 PM  
Varius
Confirmed User
 
Industry Role:
Join Date: Jun 2004
Location: New York, NY
Posts: 6,890
Quote:
Originally Posted by Big E
Or you could just use:

$IP_INT = ip2long($_SERVER['REMOTE_ADDR']);
This will return a lot of IPs as negative values.....so you must specify your fields to be signed, and/or format your string....
__________________
Skype variuscr - Email varius AT gmail
Varius is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote