Tuesday, May 29, 2007

MySql and PHP for the website

I would say i used these websites alot for doing my php login section for the website..
I suggest its really useful

http://www.phpeasystep.com/phptu/6.html

http://www.php-mysql-tutorial.com/user-authentication/basic-authentication.php

I used it and created the tables called auth_users in mim10406318 database
The following fields were created in the table "auth_users"
f_name
l_name
email
username
password

and two authorised users create added into the database.

Using phpmyadmin was allright but when i encrypted the passwords , the session of php didnt recognise from the website.

Later on removing the function "PASSWORD" solved the erroe

No comments: