[PHP] php Login script issue

2007-09-16 Thread Chris Carter
Hi, Its just a login and password validation that I am trying to achieve. If the username is correct then the person is able to view certain page, if incorrect then he is directed elsewhere. ? $userid=mysql_real_escape_string($userid); $password=mysql_real_escape_string($password);

Re: [PHP] php Login script issue

2007-09-16 Thread Tijnema
On 9/16/07, Chris Carter [EMAIL PROTECTED] wrote: Hi, Its just a login and password validation that I am trying to achieve. If the username is correct then the person is able to view certain page, if incorrect then he is directed elsewhere. ? $userid=mysql_real_escape_string($userid);

RE: [PHP] php Login script issue

2007-09-16 Thread Sanjeev N
@lists.php.net Subject: [PHP] php Login script issue Hi, Its just a login and password validation that I am trying to achieve. If the username is correct then the person is able to view certain page, if incorrect then he is directed elsewhere. ? $userid=mysql_real_escape_string($userid); $password

RE: [PHP] php Login script issue

2007-09-16 Thread Bastien Koert
'))){ if(($rec['userName']==$userName)($rec['password']==$password)) bastien Date: Sun, 16 Sep 2007 02:39:57 -0700 From: [EMAIL PROTECTED] To: php-general@lists.php.net Subject: [PHP] php Login script issue Hi, Its just a login and password validation

[PHP] PHP Login Script

2004-08-25 Thread Chuck
Could anyone let me know or point me to where I could find out how to setup a login for my php site. I've been looking around and found plenty of stuff for PHP/Apache, but nothing for just PHP. Any help or info about this would be appreciated. Thanks, Chuck -- PHP General Mailing List

Re: [PHP] PHP Login Script

2004-08-25 Thread raditha dissanayake
Chuck wrote: Could anyone let me know or point me to where I could find out how to setup a login for my php site. I've been looking around and found plenty of stuff for PHP/Apache, but nothing for just PHP. You need to store user information somewhere and apache .htpasswd files and mysql

[PHP] PHP login script

2004-05-31 Thread René Fournier
I'm looking for some good, secure login code, and found the following article: http://www.devshed.com/c/a/PHP/Creating-a-Secure-PHP-Login-Script/ Not being much of a security expert, I was wondering if anyone here could say whether this code is any good? Or if there's a better one elsewhere?