EPCtech Posted January 21, 2009 Share Posted January 21, 2009 Hi, I would like to take an email, such as [email protected], and strip it down to phpfreaks.com. Is there a code that can do this? And it would be a user inputted email... Thanks for any help! Link to comment https://forums.phpfreaks.com/topic/141693-find-email-website/ Share on other sites More sharing options...
haku Posted January 21, 2009 Share Posted January 21, 2009 $address = '[email protected]'; $parts = explode('@', $address); $domain = $parts[1]; Link to comment https://forums.phpfreaks.com/topic/141693-find-email-website/#findComment-741745 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.