next Posted May 27, 2008 Share Posted May 27, 2008 I checked out few tutorials recently about logins and registration. I'm confused, authors in every tutorial were building separate login pages for users and admins, same goes for logout pages. Why would i want 4 pages(2 logins and 2 logouts)? Why not just use conditional statements instead? Link to comment https://forums.phpfreaks.com/topic/107469-login-as-useradmin-confusion/ Share on other sites More sharing options...
ILYAS415 Posted May 27, 2008 Share Posted May 27, 2008 You could. I see no problem with that really. I actually prefer using 1 login and 1 logout page instead of a seperate login for admins. However it depends on what Im making. If i was making a game i would make the admin only able to login from the same login as members use. If however i was making a more professional website (e.g. hosting) i would make admin login seperate. I guess its to od with security and being professional ;p Link to comment https://forums.phpfreaks.com/topic/107469-login-as-useradmin-confusion/#findComment-550847 Share on other sites More sharing options...
Pioden Posted May 27, 2008 Share Posted May 27, 2008 Why not just use conditional statements instead? Why not indeed?!! Have a go at writing your own. I did a few years ago and I reckon my system is as good as anyones now. Secure too :-) /smug Link to comment https://forums.phpfreaks.com/topic/107469-login-as-useradmin-confusion/#findComment-550851 Share on other sites More sharing options...
next Posted May 27, 2008 Author Share Posted May 27, 2008 I'm curious because since I'm new to PHP and web security maybe I'm missing some important details, but to be honest i don't see how additional page makes my site more secure. Thanks for your replies. Link to comment https://forums.phpfreaks.com/topic/107469-login-as-useradmin-confusion/#findComment-550884 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.