Jump to content

log in page help


jimwyso

Recommended Posts

I am a network administrator “attempting”  to edit my web site with a new PHP feature, but I don’t know the first thing about PHP. What I am trying to do is create a logon page that will check a database (preferably access)or a file for password authentication then display a page will a few links based on the user name the person login as. I don’t need people to stay logged in, I don’t need a log out button. Can someone please direct me to where I can find relevant information on how to start with this, or some place that I can get code and edit it. Thank you

Link to comment
Share on other sites

Heh....I see where thorpe is going. Your question is a bit too open-ended. In other words, short of writing the code for you...if you don't know PHP, you're better off looking around for existing examples. Though I would encourage learning PHP as a better alternative.

 

Also...

 

1. Access db is most definitely not a preferred approach when dealing with PHP. (Or any language for that matter! It's complete crap! No offense. And yes, I have experience (Forced) working with it. It sucks elephant ***** and I would not use it again. Especially with a significant amount of data.). My suggestion would be to use a MySQL or MSSQL database.

2. If there will be sensitive information shared, you want the login to be secure. "Staying logged in" would help when checking the session information/access.

 

Look into using sessions. Very easy to write the code, and you can do a lot in terms of keeping track of users.

 

Edit: So I guess my advice is to look into a login system using MySQL and PHP sessions.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.