imagfinder Posted July 21, 2008 Share Posted July 21, 2008 This may not be able to be done in just HTML, if not please point me in the right direction. I need to make a simple login on a website. It will allow some clients to view some special pages. The ideal way is to be able to login at any time on any page, and of-course those that don't login won't be able to see the pages that would be protected. Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/115894-customer-login/ Share on other sites More sharing options...
KevinM1 Posted July 21, 2008 Share Posted July 21, 2008 This may not be able to be done in just HTML, if not please point me in the right direction. I need to make a simple login on a website. It will allow some clients to view some special pages. The ideal way is to be able to login at any time on any page, and of-course those that don't login won't be able to see the pages that would be protected. Thanks. You'll need a server-side script to process the login info and check to see if the user is logged on while they navigate from page to page. You've come to the right place, since PHP can do exactly what you're looking for. Quote Link to comment https://forums.phpfreaks.com/topic/115894-customer-login/#findComment-595927 Share on other sites More sharing options...
darksystem Posted July 22, 2008 Share Posted July 22, 2008 This thread is more appropriate at PHP help section. Quote Link to comment https://forums.phpfreaks.com/topic/115894-customer-login/#findComment-596059 Share on other sites More sharing options...
haku Posted July 22, 2008 Share Posted July 22, 2008 It is, though for someone who knows no php, a simple CMS may be a much easier way to go. I've never used it, but CMS made simple is supposed to be fairly simple (it even says so in the name!). Quote Link to comment https://forums.phpfreaks.com/topic/115894-customer-login/#findComment-596083 Share on other sites More sharing options...
Orikuuido Posted July 22, 2008 Share Posted July 22, 2008 I think that considering that he/she may not know any PHP, and possibly MySQL (dependant on whether you will suggest database-driven logins, or simple sessions) that .htaccess may be the best bet for now. I don't know whether or not .htaccess is limited to Apache servers, so if they are using MS servers I'm useless. Hope that helps... Quote Link to comment https://forums.phpfreaks.com/topic/115894-customer-login/#findComment-596290 Share on other sites More sharing options...
Pyro Posted July 26, 2008 Share Posted July 26, 2008 Hi, As you will need to know php and mysql and you probely do not know this go to this site it will give you free tutorials on many aspects of php: http://www.phpeasystep.com/php-cate.php?category=login-member-password Quote Link to comment https://forums.phpfreaks.com/topic/115894-customer-login/#findComment-600158 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.