to previous topic Print topic to next topic

 Root :: Developments :: Modules :: advProfil e-mail
 Moderated by:
 
  Bottom  advProfil e-mail
Lena Posted: 24.03.2007, 13:21
Noob
Noob
avatar

registered: Mar 24, 2007
Posts: 11

Status:  offline
last visit: 08.02.08
At first thanks a lot for accepting my account and for this great modul.

But there is one little thing i can't figure out: the femail is shown in the form

mailuser [] domain.tld
instead of
mailuser@domain.tld

In the database is the femail correct including the ampersand.

Can anybody tell me how to fix it?

Thanks a lot

Lena
Top  Lena send PM Homepage
 
Lena Posted: 24.03.2007, 17:00
Noob
Noob
avatar

registered: Mar 24, 2007
Posts: 11

Status:  offline
last visit: 08.02.08
What for is this in pnuser.php line 81-83?

Code
  1. if ($field['LABEL'] == '_UFAKEMAIL') {
  2.             $userinfo[$alias] = str_replace("@", " [ ] ", $userinfo[$alias]);
  3.         }


icon_confused Lena

P.S.: I have commented it and everything works as expected



edited by: Lena, Mar 24, 2007 - 05:06 PM
Top  Lena send PM Homepage
 
Chestnut Posted: 25.03.2007, 03:29
Site Admin
avatar

registered: Jun 02, 2002
Posts: 1320

Status:  offline
last visit: 07.02.08
Hey Lena

The replacement of the @ by [ ] is to prevent robots to read the email address (as an email address) and thus reducing potential spamming.

Various methods are used to read and collect emails on pages and this is one of the (also) various ways to get around it.

icon_wink



Chestnut ! Cool
Site Admin
Top  Chestnut send PM Homepage
 
Lena Posted: 25.03.2007, 05:36
Noob
Noob
avatar

registered: Mar 24, 2007
Posts: 11

Status:  offline
last visit: 08.02.08
Hi Chestnut,

that was my first suggestion. But it's realy a hard solution. As i remeber there are some scripts out there to scramble the email-address in a way that it is still usable but only for a browser (i think its a kind of &number; string).
Or what will happen if you replace with &s;?
The idea preventing spam of cause is fine, but a usable string to use i.e. in a mailto: is fine to.
Will be fine to solve both problems. My php-knowledge is not at a high level, just anought to path a little but i will see what i can find out.

Greetings

Lena
Top  Lena send PM Homepage
 



Powered by pnForum Version 2.0.1
DarkMindZ