Block users sending contact information

Discussion in 'PHP' started by scotsmarc, Aug 13, 2010.

  1. #1
    Hi,

    Is there any way i can bloc users from sending mails to each other on my social networking site that contain contact information, be it email addresses or telephone numbers?
     
    scotsmarc, Aug 13, 2010 IP
  2. danx10

    danx10 Peon

    Messages:
    1,179
    Likes Received:
    44
    Best Answers:
    2
    Trophy Points:
    0
    #2
    To strip contact information, you can use a variation of regular expressions (regex) - with the preg_replace() function.
     
    Last edited: Aug 13, 2010
    danx10, Aug 13, 2010 IP
  3. gapz101

    gapz101 Well-Known Member

    Messages:
    524
    Likes Received:
    8
    Best Answers:
    2
    Trophy Points:
    150
    #3
    yes you can, parse that message and do something about it
     
    gapz101, Aug 13, 2010 IP
  4. Googl

    Googl Active Member

    Messages:
    509
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    75
    #4
    Is your site running on a CMS?
     
    Googl, Aug 13, 2010 IP
  5. scotsmarc

    scotsmarc Member

    Messages:
    197
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    28
    #5
    yes it is running a cms. i am looking for someone capable to do this so i ca turn this on and off in the cms depending on membership type
     
    scotsmarc, Aug 14, 2010 IP
  6. Googl

    Googl Active Member

    Messages:
    509
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    75
    #6
    What is the CMS?
     
    Googl, Aug 14, 2010 IP
  7. chandan123

    chandan123 Prominent Member

    Messages:
    11,586
    Likes Received:
    578
    Best Answers:
    0
    Trophy Points:
    360
    #7
    just look that cms code block u can get the idea abt removing those infos
     
    chandan123, Aug 14, 2010 IP