', ' vu ', ' GT ', ' ve ', ' bn ', ' ug ', ' ua ', ' uy ', ' uz ', ' es ', ' eh ', ' gr ', ' HK ', ' SG ', ' NC ', ' NZ ', ' Hu ', ' Sy ', ' JM ', ' am ', ' ac ', ' ye ', ' iq ', ' ir ', ' il ', ' it ', ' in ', ' id ', ' UK ', ' VG ', ' io ', ' Jo ', ' vn ', ' zm ', ' je ', ' TD ', ' GI ', ' cl ', ' CF ', ' cn ', ' yr '
);
$this->top_domain=array (' com ', ' arpa ', ' edu ', ' gov ', ' int ', ' mil ', ' net ', ' org ', ' biz ', ' info ', ' pro ', '
1. Judge Email:
Domain names are composed of specific character sets, English letters, numbers, and "-" (that is, hyphens or minus signs) of each country's text, but neither the beginning nor the end can contain "-", "-" and "-" cannot appear continuously. The letters in the domain name are not case-insensitive. The domain name can be up to 60 bytes (including suffix. com,. NET,. org, and so on)./^[a-z] ([a-z0-9]*[-_]?[ a-z0-9]+) *@ ([a-z0-9]*[-_]?[ a-z0-9]+) +[.] [A-z] {2,3} ([.] [A-z] {2})? $
Determine if it's an emailfunction Isemail (str){var Regu = "^" ([0-9a-za-z]+) | ( [0-9a-za-z]+[_.0-9a-za-z-]*)] @ ([a-za-z0-9-]+[.]) + ([A-za-z]{2}|net|com|gov|mil|org|edu|int|name|asia) $ ";var re = new RegExp (Regu);if (Str.search (re) = =-1){return false;}Else{return true;}}
Determine if capital letters are includedfunction Hascapital (str){var result = Str.match (/^.*[a-z]+.*$/);if (result==null) return false;return true;}
To determine if a low
consumers:
Security expert tip: the best way to protect yourself is that you don't need much technology.
1. The request to re-enter the account information, or will stop the credit card account and other messages ignored.
2. More importantly, do not reply to or click on a link to a message-if you want to verify the email message, use the phone instead of the mouse, and if you want to visit a company's Web site, use a browser to access it directly instead of clicking on the link in the message.
Function name: Chk_email ()' Return value: Boolean (True to pass, false to failed)' Parameters: Email (email to be judged, type: string) type_1 (whether to judge domain after @, type: Boolean)' Type_2 (can only be a specific domain of e-mail registration, type: Boolean) type_3 (an e-mail can only register once, type: Boolean)Const c_maildomain= ". Com,.com.cn,.net,.net.cn,.org,.org.cn,.gov,.gov.cn,.edu,.edu.cn,.cn,.cc,.biz,.info" ' e-mail acceptable i
1. The Java source file name Java source filename must be the same as the class name of the class defined in the source file.
2. the first part of the named package name of the package should be lowercase ASCII characters and is one of the top-level domain names, usually com, edu, gov, mil, net, org, or a nationally unique flag defined by ISO standard 3166 and 1981. The subsequent part of the package name is determined by the internal naming rules of
our optimization is not for search engines, but for users.
but GG
and Baidu is a different search engine, its algorithm is also different, at present, GG
more attention to the chain, Baidu more attention to Titel
and Meta
the information for the label.
included aspects, in fact, a lot of friends are currently reflected in the GG
included more than Baidu included, you said the situation is exactly the opposite.
naked again. As a result, you don't.
Baidu is almost all the owners of the public Enemy, the initial build station people will always find their site is not included in Baidu, and in Google can soon find. And Baidu will hardly put the official site of the keyword corresponding to the first place, unless your site with Gov. As an irresponsible company, his mother did not force him to be responsible, what do you want to do?
For this matter, the Han mas
1, Loaded plugins:fastestmirror determining fastest mirrors It means that fastestmirror can not be used, Fastestmirror is an accelerated plug-in yum, I also did not carefully understand, may be the system does not support or lack of build caused. The workaround is to disable the plugin by: root@www.ctohome.com]# vi/etc/yum/pluginconf.d/fastestmirror.conf [main] enabled=0//change 1 to 0 Verbose=0 socket_timeout=3 hostfilepath=/var/cache/yum/timedhosts.txt maxhostfileage=10 maxthreads=15 #exclud E
and class are found on the network.
Get the domain name from the URL
function Get_domain ($url) {
$pattern = "/[w-]+." (COM|NET|ORG|GOV|CC|BIZ|INFO|CN) (. (CN|HK)) */";
Preg_match ($pattern, $url, $matches);
if (count ($matches) > 0) {
return $matches [0];
}else{
$rs = Parse_url ($url);
$main _url = $rs ["Host"];
if (!strcmp (Long2ip (sprintf ("%u", Ip2long ($main _url)), $main _url)) {
return $main _url;
}else{
$arr = Explode (".", $m
+ "\ n");
-the expression in the For statement should be separated by a space, for example:
for (EXPR1; expr2; expr3)
-Forced transformation should be followed by a space, for example:
MyMethod ((Byte) Anum, (Object) x);
MyMethod ((int) (CP + 5), ((int) (i + 3)) + 1);
9 Naming conventions
Naming conventions make programs easier to read and easier to understand. They can also provide some information about the function of identifiers to help understand the code, for example, whether it is
also an influence factor. If you stay outside the chain of the site's export links to a search engine is punished or even K station site, it will affect the origin of the chain of the site's quality, It also affects the quality of your site.
10, from the prestige organization outside the chain. Many do optimization friends think, from the edu to the gov suffix or is the industry prestige institutions such general registration of the domain name of t
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.