note 28281 added to function.crypt
| From: | php-general at lists dot php dot net | Date: | Wed, 08 Jan 2003 09:29:35 +0000 |
| Subject: | note 28281 added to function.crypt | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-41818@lists.php.net to get a copy of this message | ||
Comment to simon [DOT] taghioff [AT] btinternet.com
If you dont want multiple users having the same password or username, why not run a query and do a
if ($results != 0) {
// trim of some chars and add some random here
}
else {
// insert into table and echo out to user
}
--
http://www.php.net/manual/en/function.crypt.php
http://master.php.net/manage/user-notes.php?action=edit+28281
http://master.php.net/manage/user-notes.php?action=delete+28281
http://master.php.net/manage/user-notes.php?action=reject+28281