Hi
That means there is no reverse dns setup for that ip so it just returns the
ip number again.
Try with a few other ip's and it will work (try 129.250.16.102 for example)
Tom
At 10:43 AM 9/04/01 -0300, Renzi, Sebastian wrote:
>this code returns the ip too ! i dont know why !!
>
> > -----Mensaje original-----
> > De: trogers [SMTP:[EMAIL PROTECTED]]
> > Enviado el: lunes 9 de abril de 2001 10:41
> > Para: [EMAIL PROTECTED]
> > Asunto: Re: [PHP] URL FROM IP
> >
> > Hi
> >
> > Try
> >
> > $url = getHostByAddr($REMOTE_ADDR);
> >
> > Tom
> >
> > At 10:17 AM 9/04/01 -0300, Renzi, Sebastian wrote:
> > >Having the ip i want to obtain de URL (www.renzi.com.ar)
> > >
> > >Thank You very much !
> > >
> > >Sebastián Renzi
> > >Consultoría & Desarrollo de Sistemas.
> > >CODES S.A
> > >
> > >
> > >--
> > >PHP General Mailing List (http://www.php.net/)
> > >To unsubscribe, e-mail: [EMAIL PROTECTED]
> > >For additional commands, e-mail: [EMAIL PROTECTED]
> > >To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]