Re: phpweb /manual add-note.php
| From: | Andrew Lindeman | Date: | Tue, 13 May 2003 11:35:21 +0000 |
| Subject: | Re: phpweb /manual add-note.php | ||
| References: | 1 2 3 4 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-17545@lists.php.net to get a copy of this message | ||
On Tue, 2003-05-13 at 06:27, Gabor Hojtsy wrote:
> > If they don't, it defaults to php-general@lists.php.net They could at
> > least give their name or email address, so it doesn't default to an
> > email address like that (which will show up in the manual, even though
> > nobody from php-general had anything to do with it).
>
> As far as I can remember we had check code to not display
> such names. But it can default to nothing. Or is the the
> DB restricted to have some value there?
>
> Goba
OK, I see it
if ($name && $name != "php-general@lists.php.net" && $name !=
"user@example.com") {
if (ereg("(.+)@(.+)\.(.+)",$name)) {
$name = safeEmail($name);
}
echo "<b>".$name."</b><br>\n";
}
However, would it not be good to have _something_ in that field, even for consistency purposes?
--Andrew