• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

For The HTML Experts...

chazdraves

Golden Member
I'm designing a website for a friend of my father's and he would like to include a "members only" section within the page. I've never had need to design a page with usernames and passwords, hence I have no idea how one goes about setting up such a site. If anyone can give me a few code examples and tips, I'd be much obliged! Thanks!

- Chaz
 
Can't be done with HTML alone. Needs a database of some sort to store/retrieve the data. What does the webserver support in terms of scripts/languages?
 
............

Ok, since we no nothing about your programming skills, what kind of server(software) it's on, how secure it needs to be, etc, no we cannot elaborate.

Please post all relevant info.
 
I've been doing HTML for a couple years, but I have no other programming experience other than Q BASIC. I'm running it on a server provided by doteasy.com, and they allow the option to support whatever you want... for a price. Security is big, but not if it requires a great deal of money to make happen. Again, I know HTML well, but I have no experience in any other languages other than Q BASIC. Does anyone know of an online tutorial? Thanks!

- Chaz
 
Is your server apache or IIS? .htaccess is free and is the easiest way to just pop up a dialog box asking for user/pass. It stores the name/pass in a database on your server. However you will not get a pretty looking login with this, nor is it integrated into a website. It will pop up a dialog box asking for user/pass. I use this personally, and I like it.
 
Originally posted by: chazdraves
Many thanks to both of you. That's exactly what I was looking for!

- Chaz

good luck, if you need help with .htaccess, drop me a PM ill be happy to help.
 
Yeah .htaccess is probably the easiest way to go. And even easier is many hosting services give you the ability to password protect directories automatically through the control panel. You don't even have to learn how to use .htaccess that way; just protect a directory through the control panel and give all members the same user/pass information. But that's too simplistic for what you want if you need everyone with different user/pass.
 
Back
Top