How can I break an email address into different parts in php?

Posted by Jay Bee on Stack Overflow See other posts from Stack Overflow or by Jay Bee
Published on 2010-04-15T16:40:22Z Indexed on 2010/04/15 16:43 UTC
Read the original article Hit count: 344

Filed under:

Basically what I want to do is display an email using javascript to bring the parts together and form a complete email address that cannot be visible by email harvesters.

I would like to take an email address eg [email protected] and break it to: $variable1 = "info"; $variable2 = "thiscompany.com";

All this done in PHP.

Regards, JB

© Stack Overflow or respective owner

Related posts about php