🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: chile.comp.programacion
Article #3260

Re: base de datos ip de cada pais

#3260
From: Konus
Date: Tue, 29 Mar 2005 16:02
24 lines
1689 bytes
Cristian Gutierrez wrote:
> Hoy en la ma~nana, pato_donald@bigfoot.com.nospam dijo:
> 
[..]
> 
> Eso, si es que no me pifie en algun lado... :-P
> 
Que lindo script ...  pero como por ah� dicen, tal vez alguien ya lo 
hizo. En este caso con PHP:

$dotted_ip_address = long2ip($ip_number);

luego la famosa ip de ejemplo:
[ user@pc ]$ php -r "echo ' ip -> '.long2ip(33996344);"
ip -> 2.6.190.56


done!
-- 
Felipe Navarro V.
konusx[at]gmail
http://www.konus.tk - blog
Dpto Ingenier�a Inform�tica
Universidad de Santiago de Chile
Technical Details
Message-ID: <42497cc5_1@x-privat.org>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeed-east.nntpserver.com!nntpserver.com!newsfeed-west.nntpserver.com!newsfeed.media.kyoto-u.ac.jp!x-privat.org!not-for-mail
References: <d29ghc$ej1$1@news1.nivel5.cl> <Xns9628E712E583patodonaldID6986628@200.73.8.4> <87k6nreyr1.fsf@guti.no-ip.org>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1593cb,53e32211a6e3a92e
X-Google-Thread: fad43,53e32211a6e3a92e
X-Google-Attributes: gid1593cb,gidfad43,public
X-Google-Language: SPANISH,ASCII
Date: Tue, 29 Mar 2005 12:02:31 -0400
From: "[Konus]" <"konus["@]tie.cl>
User-Agent: Debian Thunderbird 1.0 (X11/20050116)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: chile.comp.programacion,chile.comp.www
Subject: Re: base de datos ip de cada pais
References: <d29ghc$ej1$1@news1.nivel5.cl> <Xns9628E712E583patodonaldID6986628@200.73.8.4> <87k6nreyr1.fsf@guti.no-ip.org>
In-Reply-To: <87k6nreyr1.fsf@guti.no-ip.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
NNTP-Posting-Host: $$5hsnjg9xoe7l-3.x-privat.org
Message-ID: <42497cc5_1@x-privat.org>
Organization: X-Privat NNTP Server - http://www.x-privat.org
Lines: 24
X-Authenticated-User: $$j2fnyur-ynpccf6bav
X-Complaints-To: abuse@x-privat.org
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeed-east.nntpserver.com!nntpserver.com!newsfeed-west.nntpserver.com!newsfeed.media.kyoto-u.ac.jp!x-privat.org!not-for-mail