Ip address as 32bit int?

From: Date: Fri, 22 Nov 2002 09:13:20 +0000
Subject: Ip address as 32bit int?
Groups: php.general 
Request: Send a blank email to php-general+get-125580@lists.php.net to get a copy of this message
Is it easy enough to change a formated IP addy (eg 192.168.0.1) to the 32bit unsigned int that computers use? the reason I ask is because it is alot more efficient space wise in a db to be storing a 32bit number rather that a char or varchar field. Or am I going to run into trouble because all ints are signed in PHP? -- JJ Harrison lizner2002@yahoo.com.au

« previous php.general (#125580) next »