Jump to content

email function


brown2005

Recommended Posts

um, roughly, if all your trying to do is mask the domain of the address:

 

$explode($email, "@");

 

$new_email = $explode[0]."*.com";

 

of whatever

 

you could make a loop for the length of teh domain name, and then actually get the real length masked, but this is simpler

 

 

i cant remember if its explode or impode() or explode(), but i think impode joines the array back to gether again.

 

gdluck

Link to comment
https://forums.phpfreaks.com/topic/47382-email-function/#findComment-231186
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.