[107188] in North American Network Operators' Group

home help back first fref pref prev next nref lref last post

Re: interger to I P address

daemon@ATHENA.MIT.EDU (Gary E. Miller)
Wed Aug 27 18:08:46 2008

Date: Wed, 27 Aug 2008 15:08:30 -0700 (PDT)
From: "Gary E. Miller" <gem@rellim.com>
To: nanog@nanog.org
In-Reply-To: <alpine.LNX.1.10.0808271501090.20923@catbert.rellim.com>
Errors-To: nanog-bounces@nanog.org

-----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-----



home help back first fref pref prev next nref lref last post