Home
Forums
Members
Search
Help
New topics
Todays topics
Website
Welcome Guest, Not a member yet?
Register
Sign In
Login
Username:
Password:
Remember me
Lost Password?
CodeIgniter Forums
Archived Discussions
Archived Development & Programming
IonAuth, IP address?
Share on Google
Share on Facebook
Share on Twitter
View a Printable Version
Subscribe to this thread
Add Poll to this thread
Send thread to a friend
Linear Mode
Threaded Mode
IonAuth, IP address?
El Forum
Unregistered
#1
02-06-2012, 03:08 AM
[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.
El Forum
Unregistered
#2
02-06-2012, 03:16 AM
[eluser]solid9[/eluser]
How to properly save an IP address on IonAuth database?
thanks.
El Forum
Unregistered
#3
02-06-2012, 03:57 AM
[eluser]vbsaltydog[/eluser]
I use ion_auth and it saves my ip addresses as 10 digit numeric. The database field is int(10)
El Forum
Unregistered
#4
02-06-2012, 04:33 AM
[eluser]solid9[/eluser]
okay I will convert from char to int.
thanks.
El Forum
Unregistered
#5
02-06-2012, 06:44 AM
[eluser]solid9[/eluser]
I already converted it using ip2long() function.
But the problem now is not saving it into database. ~sigh~
--------------------
Private Messages
User Control Panel
Who's Online
Search
Forum Home
General
-- News & Discussion
-- Events
-- Lounge
-- Regional User Groups
Using CodeIgniter
-- Installation & Setup
-- Model-View-Controller
-- Libraries & Helpers
-- Best Practices
-- Choosing CodeIgniter
-- General Help
CodeIgniter 4
-- CodeIgniter 4 Roadmap
-- CodeIgniter 4 Development
-- CodeIgniter 4 Feature Requests
-- CodeIgniter 4 Support
-- CodeIgniter 4 Discussion
-- CodeIgniter 4 Addins
Development
-- CodeIgniter 3.x
-- CodeIgniter 2.x
-- Issues
-- NetBeans Plugin
External Resources
-- Spotlight
-- Learn More
-- Jobs
-- Addins
Archived Discussions
-- Archived Libraries & Helpers
-- Archived Development & Programming
Theme © iAndrew 2016 -
Forum software by © MyBB