Tuesday, February 2, 2010

Re: getClientIP ?? strange format...

Hi Graham, ok that's something new :)))
http://en.wikipedia.org/wiki/IPv6

anyway, I should extend a database field for that...this one is a
little bit larger :-D


Thanks
Tomas

On Feb 2, 10:00 am, Graham Weldon <gra...@grahamweldon.com> wrote:
> Thats an IPv6 IP Address.
> IPv4 looks like 111.222.333.444
>
> Its a valid IP Address through. :-)
>
> On 02/02/2010, at 7:18 PM, toka...@gmail.com wrote:
>
>
>
> > Hi,
>
> > anybody know why cake or PHP native method is returning IP in this
> > strange format??
>
> > getClientIP()  ........ fe80::222:41ff:fe2e:b64b
>
> > $_SERVER['REMOTE_ADDR']  .... fe80::222:41ff:fe2e:b64b
>
> > PS: I am running apache on MacOS Leopard using XAMPP.
>
> > Many thanks
> > Tomas
>
> > Check out the new CakePHP Questions sitehttp://cakeqs.organd help others with their CakePHP related questions.
>
> > You received this message because you are subscribed to the Google Groups "CakePHP" group.
> > To post to this group, send email to cake-php@googlegroups.com
> > To unsubscribe from this group, send email to
> > cake-php+unsubscribe@googlegroups.com For more options, visit this group athttp://groups.google.com/group/cake-php?hl=en
>
> Cheers,
>
> Graham Weldon
> e. gra...@grahamweldon.com
> p. +61 407 017 293
> w.http://grahamweldon.com

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: