Holmen Posted June 18, 2006 Share Posted June 18, 2006 Hi all!I would like som help with a member system. Its for my personal website. Why I want it for my website is because I would like to be able to just logon to the site with only a password and then write new posts for my blogg. Is this possible? I was having in mind a "buttom" or soo, to a link that opens a new window, wich I will write my password in and then the whole site updates and admin functions are visible on every page.Could anyone help me with this?I want to use PHP and have a MySQL database and everyting wich is needed.you can find the site here: [a href=\"http://www.holmen.co.nr\" target=\"_blank\"]HOLMEN.CO.NR[/a] Quote Link to comment Share on other sites More sharing options...
deadonarrival Posted June 18, 2006 Share Posted June 18, 2006 This is the easiest kind of login system. There is an example of how to do it [a href=\"http://www.phpfreaks.com/forums/index.php?s=&showtopic=96181&view=findpost&p=385248\" target=\"_blank\"]here[/a] Quote Link to comment Share on other sites More sharing options...
Holmen Posted June 18, 2006 Author Share Posted June 18, 2006 Thanks! It seems to work properly. But how do I create an account? And how do I connect the functions that I want to the loginsystem? Quote Link to comment Share on other sites More sharing options...
klaroen Posted June 18, 2006 Share Posted June 18, 2006 Well, you have the file right, then you change your username and password in that file itself:The "$realUser = ""; // what you want your user name to be$realPass = ""; // what you want your password to be."part.Then if you want to secure a page put this at the top of the page:include "config.php";authUser();That's all Quote Link to comment 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.