nanog mailing list archives

Re: interger to I P address


From: "Gary E. Miller" <gem () rellim com>
Date: Wed, 27 Aug 2008 15:08:30 -0700 (PDT)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Yo All!

On Wed, 27 Aug 2008, Gary E. Miller wrote:

ls it possible t convert the interger to ip
# php -r 'echo ip2long("196.3.39.209"), "\n";'

Whoops, wrong way.

# php -r 'echo long2ip("3288541137"), "\n";'


RGDS
GARY
- ---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97701
        gem () rellim com  Tel:+1(541)382-8588

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFItdBgBmnRqz71OvMRAlpDAKCd+G4Qtj/d/65bSLx2vWXEM6XesACgnc5/
f9BdpC6mwrOYV0X5VzRVKQw=
=hHcZ
-----END PGP SIGNATURE-----



Current thread: