Jump to content

One-member-system


Holmen

Recommended Posts

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]
Link to comment
https://forums.phpfreaks.com/topic/12309-one-member-system/
Share on other sites

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
Link to comment
https://forums.phpfreaks.com/topic/12309-one-member-system/#findComment-47102
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.