cvs: php-master-web /fetch cvsforwarding.php
| From: | Jim Winstead | Date: | Wed, 17 Oct 2001 03:04:02 +0000 |
| Subject: | cvs: php-master-web /fetch cvsforwarding.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-7042@lists.php.net to get a copy of this message | ||
jimw Tue Oct 16 23:04:02 2001 EDT
Modified files:
/php-master-web/fetch cvsforwarding.php
Log:
skip entries without email addresses
Index: php-master-web/fetch/cvsforwarding.php
diff -u php-master-web/fetch/cvsforwarding.php:1.1 php-master-web/fetch/cvsforwarding.php:1.2
--- php-master-web/fetch/cvsforwarding.php:1.1 Tue Oct 16 21:00:30 2001
+++ php-master-web/fetch/cvsforwarding.php Tue Oct 16 23:03:56 2001
@@ -7,7 +7,7 @@
// Connect and generate the list from the DB
if (@mysql_connect("localhost","nobody","")) {
if (@mysql_select_db("php3")) {
- $res = @mysql_query("SELECT cvsuser,email FROM users WHERE cvsuser IS NOT NULL");
+ $res = @mysql_query("SELECT cvsuser,email FROM users WHERE cvsuser IS NOT NULL AND email
!= ''");
if ($res) {
while ($row = @mysql_fetch_array($res)) {
echo "$row[cvsuser]: $row[email]\n";