[PHP-DB] Re: Login Auth help?

2005-11-10 Thread JeRRy
Hi, Well I tried this code but it fails, if I enter a correct User and Pass set in the db it just prompts for the user/pass again. The error message that should apply if wrong three times appears but the sucessful message I can't get regardless of correct user pass or not, any help please?

Re: [PHP-DB] Re: Login Auth help?

2005-11-10 Thread Micah Stevens
I'd pull the addslashes() and use mysql_real_escape_string() instead. I'd also echo the query that's being sent to the database and compare to make sure it's doing what it should. -Micah On Thursday 10 November 2005 8:22 pm, JeRRy wrote: Hi, Well I tried this code but it fails, if I

[PHP-DB] RE: login

2002-03-10 Thread Adam Royle
If the variable $SCRIPT_NAME does not suit your needs, try the other environment variables here: http://www.php.net/manual/en/language.variables.predefined.php Adam -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Re: Login Help

2001-07-09 Thread Johannes Janson
Hi, [...] Now, if i hit enter again it will say: Please fill out all fields to proceed. Sorry, username is already taken, please choose another. There seems to be a problem with the database. So this is the problem? [...] Here is my code:

[PHP-DB] Re: login twice

2001-07-05 Thread Dean Hall
anyone knows how to avoid user to login twice in different computer ? for exam : User A login using computer D, and then A go to computer E and A login again. how to restrict A to login using computer E when he have another session in computer D ? If you have a user database