Posts: 175
Threads: 102
Joined: May 2018
Reputation:
-7
I want to open a login page only for authenticated(ipaddress) users in codeigniter.
Posts: 3,252
Threads: 69
Joined: Oct 2014
Reputation:
132
1) create method to get the user's ip when they enter the login page.
2) You would need to create an array list of these ip's and save them to the database.
3) on start up you need to get the list of ip's from the database and save them to an array list.
4) Write a method to check the list against the users ip when they come to the login page.
Just a rough thought on this can not waste my time on things you should know.
You should search the internet for computer problem solving!
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )