cvs: php-master-web /entry cvs-account.php

From: Date: Mon, 22 Apr 2002 21:13:26 +0000
Subject: cvs: php-master-web /entry cvs-account.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-9790@lists.php.net to get a copy of this message
jimw Mon Apr 22 17:13:26 2002 EDT Modified files: /php-master-web/entry cvs-account.php Log: add another address, explain what the reserved names are all about Index: php-master-web/entry/cvs-account.php diff -u php-master-web/entry/cvs-account.php:1.8 php-master-web/entry/cvs-account.php:1.9 --- php-master-web/entry/cvs-account.php:1.8 Mon Apr 22 16:57:39 2002 +++ php-master-web/entry/cvs-account.php Mon Apr 22 17:13:25 2002 @@ -9,7 +9,14 @@ die("missing some parameters"); $username = strtolower($username); -if (in_array($username,array('nse','roys','php','foo','group','core','webmaster','mysql','web','aardvark','zygote','jag','sites'))) + +# these are reserved account names. some of them (like webmaster and group) +# are pre-existing mail aliases. others are addresses that get a ton of spam +# that are used as honeypots for blocking spam. (mail to them gets the sender +# placed in qmail-smtpd's badmailfrom to block future emails.) some of these +# latter addresses were used as examples in the documentation at one point, +# which means they appear on all sorts of spam lists. +if (in_array($username,array('nse','roys','php','foo','group','core','webmaster','mysql','web','aardvark','zygote','jag','sites','er'))) die("that username is not available"); @mysql_pconnect("localhost","nobody", "")

« previous php.mirrors (#9790) next »