What I am looking for is how to display a email address from
name@domain.com to name at domain dot com. I have done this with PHP but have no knowledge of ASP, I am trying to help a friend out who runs a site with ASP.
Here is the code I use in my PHP script to do this:
$email2 = substr( $email, 0, ( strpos( $email, '@' ) ) ) . ' <b>at</b> ' . substr( $email, ( strpos( $email, '@' ) + 1 ), -( strlen( strrchr( $email , '.' ) ) ) ) . ' <b>dot</b> ' . substr( strrchr( $email , '.' ) , 1 );
echo "<b>Email: </b>$email2<br>";
Any help would be great. Trying to keep spambots from grabbing email addresses from his site.