Re: phpweb /manual add-note.php
| From: | Gabor Hojtsy | Date: | Tue, 13 May 2003 11:35:57 +0000 |
| Subject: | Re: phpweb /manual add-note.php | ||
| References: | 1 2 3 4 5 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-17546@lists.php.net to get a copy of this message | ||
> > > 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?
Why would you like to force somebody to give details about
him? We need the note. If he would not like to give a name
or email, then let it be...
Goba