Page 1 of 1

Wanted AIM and Yahoo IM users

PostPosted: Fri Aug 31, 2007 10:44 am
by Brammers
I'm in need of a spot of help for people who use AIM or Yahoo IM.

What I'm doing is putting in some extra validation to the registration/profile screen to check that you have really entered is valid for that field - so thats does mean people with "I want beer" as a MSN address isn't going to be allowed any more.

The fields I'm a little unsure of are AIM and Yahoo IM. As far as I can tell:-

AIM ID's - Letters and numbers only.
Yahoo - Email address

Could anyone who uses these confirm that this is the case for AIM and Yahoo IM id's.

Thanks!

PostPosted: Fri Aug 31, 2007 1:51 pm
by Ressi
Correct Yahoo uses E-Mail addresses.

I have given up on AIM, so cant tell u that anymore
But I thought it was username

PostPosted: Fri Aug 31, 2007 4:23 pm
by Pantho
aim can be any combo of numbers and letters

One word as well, not sure for symbols.

Some idiots think there aim is there AOL email address tho, which would work. But so would just the first bit of there email address.

Yahoo = Email addresses

PostPosted: Mon Sep 03, 2007 2:31 pm
by Abeyance
AIM can't have spaces afaik. MSN and Yahoo would use a standard regex for email...

Code: Select all
function  checkEmail($email) {
 if (!preg_match("/^( [a-zA-Z0-9] )+( [a-zA-Z0-9\._-] )*@( [a-zA-Z0-9_-] )+( [a-zA-Z0-9\._-] +)+$/" , $email)) {
  return false;
 }
 return true;
}