Re: Idea/Suggestion: IP validation/manipulation class?

From: Date: Wed, 01 Jan 2003 22:01:38 +0000
Subject: Re: Idea/Suggestion: IP validation/manipulation class?
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-11990@lists.php.net to get a copy of this message
Hi all, I really ought to use: "cvs -z3 update -dP" more often (if not always) when I am connecting from home. --- Eric <eric@ypass.net> wrote: > > Try http://pear.php.net/package-info.php?pacid=106 I missed completely Net_IPv4 and Net_IPv6, mainly because my local pear checkout had not been update in many moons. Now I did it and found a lot of new goodies to play with, among them the aforementioned packages. It took some time over my clunky old modem connection, but I got an up-to-date local CVS checkout. > Let me know specifically what features you're looking for. IP address > manipulation is fairly simple stuff. I can add things fairly quickly. Looks like you have most of the stuff that people are always asking for (or putting buggy code about) in the notes to the manual. Now I know where to direct them when that happens. Just if you want to play w/ some more code, look at the Perl package I mentioned. Seems like it has a whole lot of stuff in addition to what you've implemented, but not being that good at networking stuff, I cannot tell whether is useful or not. > eric > > On Mon, 30 Dec 2002, Jesus M. Castagnetto wrote: > > > > > --- Mika Tuupola <tuupola@appelsiini.net> wrote: > > > On Mon, 30 Dec 2002, Jesus M. Castagnetto wrote: > > > > > > > Just looking over some old and recent contribution to the manual notes, > I > > > > gather that some need code for IP address validation and manipulation > (v4 > > > for > > > > now, v6 in the future I guess). > > > > > > You mean something like Net_CheckIP? > > > > > > http://pear.php.net/package-info.php?pacid=9 > > > > Nope, checking that an address looks like a IPv4 is but one of the things I > had > > in mind such a class might do. > > > > For a Perl package that does IPv4 and v6 verification and *manipulation* > see: > > http://search.cpan.org/src/MANU/Net-IP-1.16/IP.pm ===== --- Jesus M. Castagnetto (jcastagnetto@yahoo.com) Research: http://metallo.scripps.edu/ Personal: http://www.castagnetto.org/ __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com

« previous php.pear.dev (#11990) next »