Re: adding *** on email address upon view
| From: | Jules | Date: | Thu, 22 Jul 2004 12:14:39 +0000 |
| Subject: | Re: adding *** on email address upon view | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-191514@lists.php.net to get a copy of this message | ||
Use eregi_replace to match the text between the @ and the "." and replace it
with the text you want. You'll have to use pattern matching which can be
tricky, but its more than possible.
Jules...
http://nl.php.net/manual/en/function.eregi-replace.php
"Louie Miranda" <lmiranda@gmail.com> wrote in message
news:5016fc50407220109113b5b0c@mail.gmail.com...
> What command in php? can i convert certain text ex the
> emailadd@example.com to emailadd@***.com
>
> --
> Louie Miranda
> http://www.axishift.com