PDA

View Full Version : [fixed] Email Address Signup Problem



Sinema
Tue 7th Aug '01, 9:04am
Howdy,

I have a user who has an
aea14.k12.ia.us

email address and when he attempts to register with vBulletin it come up as Invalid email address when the email address is a State Issued address so it's "valid"

Is there any Fixes for this ?

Mike Sullivan
Tue 7th Aug '01, 9:30am
if (!preg_match("/^(.+)@[a-zA-Z0-9-]+\.[a-zA-Z0-9.]+$/si", $email)) {

register.php. Added code is in blue. Let me know if that helps.

scotty
Mon 20th Aug '01, 6:49pm
Originally posted by Ed Sullivan

if (!preg_match("/^(.+)@[a-zA-Z0-9-]+\.[a-zA-Z0-9.]+$/si", $email)) {

register.php. Added code is in blue. Let me know if that helps.

I've checked this too and added a "-" for emails in format:

name@subhost.host-name.tld


if (!preg_match("/^(.+)@[a-zA-Z0-9-]+\.[a-zA-Z0-9.-]+$/si", $email)) {

this works! :)

scott