North American Network Operators Group

Date Prev | Date Next | Date Index | Thread Index | Author Index | Historical

Re: interger to I P address

  • From: Gary E. Miller
  • Date: Wed Aug 27 18:08:49 2008

-----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@xxxxxxxxxx  Tel:+1(541)382-8588

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

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