Author Topic: change the "at" for "@"  (Read 2957 times)

0 Members and 1 Guest are viewing this topic.

Offline Bomba

  • Full Member
  • ***
  • Posts: 202
    • View Profile
change the "at" for "@"
« on: April 06, 2003, 01:16:15 AM »
how can i change the users mail to appear name@mail.com and not "name at mail.com"

thanks

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
change the "at" for "@"
« Reply #1 on: April 06, 2003, 01:27:38 AM »
in member.php
find:
Code: [Select]
     $user_email_save = str_replace("@", " at ", $user_row['user_email']);
replace with:
Code: [Select]
     $user_email_save = $user_row['user_email'];
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Chris

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.487
  • Did u ever stop to think and then forget to start?
    • View Profile
change the "at" for "@"
« Reply #2 on: April 06, 2003, 02:42:26 AM »
I strongly advise against doing that.  The reason there is the word "at" in place of the @ is to prevent SPAM bots from grabbing the email address from the web page.  These "bots" are programs that roam the web, browsing every page they can in order to collect all email address they find.  These email addresses are then sold to spammers and other unsavory users.  When there is the email is "someone at somedomain.com", the bots don't recognize it as an email address and so it's not collected.