Welcome Guest, Not a member yet? Register   Sign In
IonAuth, IP address?
#1

[eluser]solid9[/eluser]
Hi

When I save the IP address only the partial six digits is save into the database.
Why is this?

For example if I have an ip like this --> 180.190.5.244
only the 180190 is saved.

any advice with this.

thanks.



#2

[eluser]solid9[/eluser]
How to properly save an IP address on IonAuth database?

thanks.
#3

[eluser]vbsaltydog[/eluser]
I use ion_auth and it saves my ip addresses as 10 digit numeric. The database field is int(10)

#4

[eluser]solid9[/eluser]
okay I will convert from char to int.

thanks.
#5

[eluser]solid9[/eluser]
I already converted it using ip2long() function.
But the problem now is not saving it into database. ~sigh~




Theme © iAndrew 2016 - Forum software by © MyBB