cvs: php-master-web /entry cvs-account.php
| From: | jim winstead | Date: | Sat, 29 Dec 2001 19:07:33 +0000 |
| Subject: | cvs: php-master-web /entry cvs-account.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-8007@lists.php.net to get a copy of this message | ||
jimw Sat Dec 29 14:07:33 2001 EDT
Modified files:
/php-master-web/entry cvs-account.php
Log:
lowercase usernames
Index: php-master-web/entry/cvs-account.php
diff -u php-master-web/entry/cvs-account.php:1.3 php-master-web/entry/cvs-account.php:1.4
--- php-master-web/entry/cvs-account.php:1.3 Thu Dec 6 15:22:38 2001
+++ php-master-web/entry/cvs-account.php Sat Dec 29 14:07:33 2001
@@ -8,6 +8,8 @@
if (empty($name) || empty($email) || empty($username) || empty($passwd) || empty($note))
die("missing some parameters");
+$username = strtolower($username);
+
@mysql_connect("localhost","nobody", "")
or die("failed to connect to database");
@mysql_select_db("php3")