Re: Working with ip addresses and address space

From: Date: Fri, 31 May 2002 17:54:03 +0000
Subject: Re: Working with ip addresses and address space
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-100136@lists.php.net to get a copy of this message
ip2long and long2ip and a bit of bitwise logic is really all you need. -Rasmus On Fri, 31 May 2002, Chris Knipe wrote: > Hi all, > > anyone know of any good pre-written classes or functions to work with IP > address space? > > I'm looking for things which can verify correct notation of IP addresses > (fine, that's easy enough), but also verify things like network addresses, > broadcast addresses, and work out subnet masks when a start and end IP > address is given... > > Any ideas? I'm sure I can just write my own... But it's going to save me > allot of time if something like this is out there already for me to use. > > -- > me > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#100136) next »