robcrozier Posted January 24, 2009 Share Posted January 24, 2009 Hi, i know this has probably been asked, or at least something similar lots of times, but after looking through the forum i can't find what i'm looking for. Basically, i want to create a secure, reliable login script for my website. I'm pretty familiar with PHP and i need something that simply goes beyond setting a session and checking for it at the top of all secure pages. Can anyone suggest something that is perhaps database driven (i don't really want to use IP checks though due to AOL's changing IP's). Any links to tutorials, pointers in a general direction etc would be great! Thanks guys! Link to comment https://forums.phpfreaks.com/topic/142267-secure-php-login/ Share on other sites More sharing options...
.josh Posted January 24, 2009 Share Posted January 24, 2009 Have you considered using a framework that has login functionality? Link to comment https://forums.phpfreaks.com/topic/142267-secure-php-login/#findComment-745323 Share on other sites More sharing options...
robcrozier Posted January 24, 2009 Author Share Posted January 24, 2009 Do you mean such as a CMS like Joomla? I'd rather create my own code to be hones though. Link to comment https://forums.phpfreaks.com/topic/142267-secure-php-login/#findComment-745336 Share on other sites More sharing options...
chester Posted January 24, 2009 Share Posted January 24, 2009 Might try this as a foundation to build on: http://www.evolt.org/article/PHP_Login_System_with_Admin_Features/17/60384/index.html Link to comment https://forums.phpfreaks.com/topic/142267-secure-php-login/#findComment-745337 Share on other sites More sharing options...
Maq Posted January 24, 2009 Share Posted January 24, 2009 There are plenty of "secure logins" both on phpfreaks and Google. You should attempt it yourself and post what you think is good so that people can test it for you. Making login scripts is a very common thing... Link to comment https://forums.phpfreaks.com/topic/142267-secure-php-login/#findComment-745338 Share on other sites More sharing options...
.josh Posted January 24, 2009 Share Posted January 24, 2009 Do you mean such as a CMS like Joomla? I'd rather create my own code to be hones though. No, a framework. a CMS is a specific type of script. A framework is well, a framework, that can be used to make more specific types of scripts, like for instance, a CMS. http://www.phpframeworks.com/ Link to comment https://forums.phpfreaks.com/topic/142267-secure-php-login/#findComment-745342 Share on other sites More sharing options...
robcrozier Posted January 24, 2009 Author Share Posted January 24, 2009 Thanks chester - that link looks great - think i'll go down that road. Thanks also to Crayon Violent - i will look into adopting a framework too! Link to comment https://forums.phpfreaks.com/topic/142267-secure-php-login/#findComment-745439 Share on other sites More sharing options...
rubing Posted January 24, 2009 Share Posted January 24, 2009 I really like the user system that Marc Wandschneider lays out in his book Core Web Application Programming with PHP and MySQL. I think he has updated source code for it on his website. Link to comment https://forums.phpfreaks.com/topic/142267-secure-php-login/#findComment-745524 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.