RE: [PHP] Nobody know nothing about? Php login scripts using PHP4.01, Apache3.01 CGI on W2K
| From: | Tim Ward | Date: | Tue, 22 Jan 2002 09:26:42 +0000 |
| Subject: | RE: [PHP] Nobody know nothing about? Php login scripts using PHP4.01, Apache3.01 CGI on W2K | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-81500@lists.php.net to get a copy of this message | ||
Use html form for user input with text field for user name and password
filed for password. Hold password encrypted using MySQL password() function
and check login by "SELECT * FROM users WHERE user='$user' AND
pass=PASSWORD($password)". If (mysql_num_rows($result)) login = true;
Tim
www.chessish.com <http://www.chessish.com>
----------
From: ignacio.estrada@cfe.gob.mx [SMTP:ignacio.estrada@cfe.gob.mx]
Sent: 21 January 2002 19:58
To: php-general@lists.php.net
Subject: [PHP] Nobody know nothing about? Php login scripts
using PHP4.01, Apache3.01 CGI on W2K
Atte. Ignacio Estrada F.
Centro Nacional de Control de Energia
Area de Control Occidental
025+6463, 025+6464, 025+6469
ignacio.estrada@
cfe.gob.mx Para:
php-general@lists.php.net
cc:
01/21/2002 09:34 Asunto: [PHP] Php
login scripts using PHP4.01, Apache3.01 CGI on W2K
Hi, am looking for good samples scripts for authentication, but I am
using
the CGI version of Apache. However could be a good way for make
authentication using some file or database as the source for the
login name
and so on.
Please let me know if you know where exists a good samples scripts
for
that.
Greetings!!
Atte. Ignacio Estrada F.
Centro Nacional de Control de Energia
Area de Control Occidental
025+6463, 025+6464, 025+6469
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail:
php-list-admin@lists.php.net