That would only solve his testing methods here.  If his host supports
IPv6, it's still possible for him to get those values under his
production site from visitors.  It's best to account for both.

On Feb 2, 11:24 am, Andras Kende <[email protected]> wrote:
> Tomas,
>
> You could try disable IPV6:  
>
> System preferences -> Network -> Ethernet -> Advanced -> Configure IPV6 = Off
>
> Also comment out the IPV6 addresses in /etc/hosts file
>
> Or try to access that site not byhttp://localhostbut by ip 
> likehttp://192.168.1.101
>
> Andras
>
> On Feb 2, 2010, at 3:18 AM, [email protected] 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 [email protected]
> > To unsubscribe from this group, send email to
> > [email protected] For more options, visit this group 
> > athttp://groups.google.com/group/cake-php?hl=en- Hide quoted text -
>
> - Show quoted text -

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 [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to