Help with basic log in feature

Discussions of secure PHP coding. Security in software is important, so don't be afraid to ask. And when answering: be anal. Nitpick. No security vulnerability is too small.

Moderator: General Moderators

Post Reply
jimwyso
Forum Newbie
Posts: 1
Joined: Mon Jul 30, 2007 10:59 am

Help with basic log in feature

Post by jimwyso »

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
User avatar
boo
Forum Commoner
Posts: 42
Joined: Mon Jul 02, 2007 11:30 am
Location: NY

Post by boo »

Well you will need to know a couple of things before you start

1. How to access a database
2. Login process for website

You will also need to know how to configure your server if it doesnt already have PHP installed.

Here is a link to how to retrieve information from an access database using php
http://www.configure-all.com/php_access.php

Here is some information about login scripts
http://www.mtdev.com/2002/07/creating-a ... in-script/

As for the setup of PHP I will leave that to some of the experts around here if you need that information
Post Reply