How to check ICQ number validity?

This will validate ICQ ID (number only).

if (ereg("^[0-9]{6,15}$", $icq)) {
echo 'Valid';
} else {
echo 'Invalid;
}

No Comments

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: