• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to build an admin panel [SOLVED]

#2
Hey,

there are several login tutorials available. Just search for e. g. codeigniter 3 login tutorial and you will find a bunch of nice descriptions how to realize a login for your page.

With these basics you are able to wrap up your admin sites into a closed area.

The easiest way is to set some $_SESSION data like "login = TRUE" after the login was successfull.
Then you implement a check in every controller within your admin area, if user is logged in and has access to this controller. If not, redirect him to login page.

I hope this will help you ;-)

Best regards from Germany
Reply


Messages In This Thread
RE: How to build an admin panel - by stebo - 02-17-2017, 02:16 AM
RE: How to build an admin panel - by ignitedcms - 02-17-2017, 07:08 AM
RE: How to build an admin panel - by Avenirer - 02-17-2017, 09:30 AM
RE: How to build an admin panel - by kirasiris - 02-18-2017, 09:19 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.