RE: [PHP] adding *** on email address upon view

From: Date: Fri, 10 Sep 2004 18:54:30 +0000
Subject: RE: [PHP] adding *** on email address upon view
Groups: php.general 
Request: Send a blank email to php-general+get-196338@lists.php.net to get a copy of this message
One simple way to do it would be: List($username,$domain) = explode("@",$emailaddress); $newemailaddress = "$username@xxxx.com"; Maybe I just use list/explode too much. :) -TG > -----Original Message----- > From: Jason Wong [mailto:php-general@gremlins.biz] > Sent: Thursday, July 22, 2004 6:09 AM > To: php-general@lists.php.net > Subject: Re: [PHP] adding *** on email address upon view > > > On Thursday 22 July 2004 16:09, Louie Miranda wrote: > > > What command in php? can i convert certain text ex the > > emailadd@example.com to emailadd@***.com > > If this is to protect people's email addresses then make it > easy on yourself > and just discard the whole domain. > > -- > Jason Wong -> Gremlins Associates -> www.gremlins.biz > Open Source Software Systems Integrators > * Web Design & Hosting * Internet & Intranet Applications > Development * > ------------------------------------------ > Search the list archives before you post > http://marc.theaimsgroup.com/?l=php-general > ------------------------------------------ > /* > Never say no > -- Murphy's Laws on Sex n45 > */ > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#196338) next »