Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter bobbykjack

    (@bobbykjack)

    Actually, it’s even more complicated than I first thought. Just adding the single “‘” character to the range in the regexp did not fix the problem. After much debugging, I taced the problem to magic_quotes and the fact that the user’s email was coming through with “\'” in it. A call to stripslashes() resolved this, but the extent I’ve had to hack this code just to get a valid email address accepted is a bit worrying.

    Has no-one else suffered this problem?

    Thread Starter bobbykjack

    (@bobbykjack)

    Anyone able to help here?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Email validation’ is closed to new replies.