Search found 5 matches

by BigMC22
Mon Mar 08, 2004 11:11 pm
Forum: PHP - Code
Topic: Problem with Login Page
Replies: 7
Views: 2192

OK that worked as long as I put the stored hash fingerprint for 'doepass' which turns out to be 2fae5c9d478ec4b1 (that is exactly how it appears in the database) as the password. What do I have to add to this: $sql = "select f_name, l_name from auth_users where username='".$_POST[username]...
by BigMC22
Mon Mar 08, 2004 10:45 pm
Forum: PHP - Code
Topic: Problem with Login Page
Replies: 7
Views: 2192

yes the PHP file that runs the login script is called listing15.8.php and the file that has the input boxes is listing15.7.php.
by BigMC22
Mon Mar 08, 2004 10:29 pm
Forum: PHP - Code
Topic: Problem with Login Page
Replies: 7
Views: 2192

Problem with Login Page

Hello, I am having trouble creating a login page. I am just beginning with PHP and MySQL so I'm going straight from the book here. I have set up a database that has the user John Doe in it with a password (that has been hashed). the username is jdoe and pass is doepass. However when I put those in t...
by BigMC22
Sun Mar 07, 2004 6:14 pm
Forum: PHP - Code
Topic: Using Session ID's for tracking purposes
Replies: 3
Views: 699

Thanks...Is there anything I need to add to have the $memberid pull from the database for that user when they login? say the database table is called member_info...Thanks again for the help.
by BigMC22
Sun Mar 07, 2004 1:33 pm
Forum: PHP - Code
Topic: Using Session ID's for tracking purposes
Replies: 3
Views: 699

Using Session ID's for tracking purposes

Hello, I am new to the boards and need some help. Here is what I am trying to do, and not having much luck finding the answer on my own: -User signs up and a member ID is stored in a MySQL database -When they login to my site I would like that person's member ID to be used as the session ID -I also ...