Tell me more ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Forgive me in advance if I posted this in the wrong area. I don't know where this should go, and unless I am completely missing what kind of system this is called, I can't find something quite like this.

I have a website that I'm looking to allow customers to view their content on - but instead of making a load of links, I want to try to make a system that'll deliver their content when they "log in" to the site. I don't want fancy mysql unless it's required - I don't yet know it. All I want is to have someone log in with a username and password (predetermined by me), and then get delivered a page with their relevant content. Even if it's stored in a big txt file like so:

[username1],[password1]:[ahref1 goes here];
[username2],[password2]:[ahref1 goes here];
etc...

To clarify, you arrive at a login screen - perhaps one of those boring old dialouges, or some fancy CSS-ified login screen. you type in a username and password. if it pairs up with a correct username or password listed, you're brought to a specific part of the site.

For another example: Customer A has logos A, B and C. Customer B has logos X and Y, with a website Z.

Customer A logs in, and is delivered to website.com/customera/index.php Customer B logs in at the same page, but is sent to website.com/customerb/index.php Instead of having to give them links every time, they just have to log in.

share|improve this question
Are you planning to encrypt this text file? – Kenzo Jan 17 at 13:45
Probably not. I mean, maybe at some point I'd look for a way to do it but for now, it's just mostly an easier way to direct someone to the page they gotta go to. no hunting links. Just go to eagledesignmedia.net and (once the page is up) go to the login page to get to where you gotta go. – Anthony Jan 17 at 13:49
As you probably do not need many users, you could do this simply with Apache. Then PHP could serve different content based on what user it's visiting the site. – milo5b Jan 17 at 14:54

closed as not constructive by John Conde Jan 17 at 17:54

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or specific expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, see the FAQ for guidance.

Browse other questions tagged or ask your own question.