Me ?? Do you often want to worship? Your? Website friends can leave Email & nbsp; but many people are there ?? S, causing management? T's sleepy? _, & Nbsp; following ??? Can the class be? Upper? Z check whether the Email is a valid Email (the Email does not exist) & nbsp; & lt ;? & Nbsp; classCEmail & #123; & nb is generally me ?? Do you often want to worship? Your? Website friends can leave an Email
But many of them ?? S, causing management? T's sleepy? _,
Below ??? Can the class be? Upper? Z. check whether the Email is valid (the Email does not exist)
Class CEmail {
Var $ email_regular_expression = "^ ([a-z0-9 _] |-| .) + @ ([a-z0-9 _] |-) + .) + [a-z] {2, 4} $ ";
Var $ timeout = 0;
Var $ localhost = "";
Var $ localuser = "";
Function GetLine ($ connection)
{
For ($ line = "";;)
{
If (feof ($ connection ))
Return (0 );
$ Line. = fgets ($ connection, 100 );
$ Length = strlen ($ line );
If ($ length> = 2
& Substr ($ line, $ length-2, 2) = "rn ")
Return (substr ($ line, 0, $ length-2 ));
}
}
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service