Login     Sign up
version 4 on localhost
Jcow Master (@falcone)
Join date: Sep 2nd 2010
Community posts: 917
View Profile
Send Message

i get the error wrong ip format

174 months ago
adil (@adil)
Join date: May 9th 2010
Community posts: 202
View Profile
Send Message

I did not install it locally yet but did u give a try to 127.0.0.1 !!!!!

174 months ago
Vincent T (@vincent)
Join date: Jun 18th 2010
Community posts: 298
View Profile
Send Message

v4 will check users IP address and only allows:
number.number.number.number
127.0.0.1 is OK.
Please echo your $client['ip'] and see what is it.

174 months ago
Jcow Master (@falcone)
Join date: Sep 2nd 2010
Community posts: 917
View Profile
Send Message

127.0.0.1 is in IPv4, in my case IPv6 it is ::1

174 months ago
Vincent T (@vincent)
Join date: Jun 18th 2010
Community posts: 298
View Profile
Send Message

don't worry, we will upgrade it to IPv6 soon.

174 months ago
Jcow Master (@falcone)
Join date: Sep 2nd 2010
Community posts: 917
View Profile
Send Message

ok, i found a solution for it.

php 5.2 and above has a function for checking ip's in both formats

174 months ago