jimwyso Posted July 30, 2007 Share Posted July 30, 2007 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 Quote Link to comment Share on other sites More sharing options...
trq Posted July 30, 2007 Share Posted July 30, 2007 http://www.google.com.au/search?q=php+login Quote Link to comment Share on other sites More sharing options...
Caesar Posted July 30, 2007 Share Posted July 30, 2007 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. 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.