Go4Expert (http://www.go4expert.com/)
-   PHP (http://www.go4expert.com/forums/php/)
-   -   login with access database (http://www.go4expert.com/forums/login-access-database-t3899/)

wq321 17Apr2007 01:32

login with access database
i need to create a log in that connect to an access database to retrieve the passwords. i have created a log in and can enter a password but i don't know how to connect it to the database to get the password from there instead. this is the code i have:

PHP Code:

if (
$_POST["PasswordGuess"] ==  $ActualPassword)
$_SESSION["Authorised"] = "Y";
header("Location: index.php"); 
header("Location: wrongpassword.php"); 

can anyone help please?

pradeep 17Apr2007 10:55

Re: login with access database
Use the PEAR DB package. You'll find it here.

All times are GMT +5.5. The time now is 10:57.