Million-net Whois (the interface used to provide a legal interface to the WAN)
Copy the Code code as follows:
function Whois_hichina ($domain) {Preg_match ("|
(.+?)|is ", @file_get_contents (' http://whois.hichina.com/cgi-bin/whois?domain= ' $domain. '), $whois);
$whois
Domain name query code announcement? Php // The motto of the network technology supervisor: three people, it must have our teacher. Http://www.ctohome.com//this code can be said to be very smart. I changed the code to make it easier to use. $ Moreinfolistarray (// storage WH
Domain name query code announcement lt ;? The motto of the php network technology supervisor is "three people," which must be my teacher. The code www.ctohome.com can be very SMART. I modified a small part to make it easier to use. $ Moreinfolistarray (storage WHOIS query host connection method at gt; www.ripe.net
Million-net Whois (the interface used to provide a legal interface to the WAN)
Copy CodeThe code is as follows:
function Whois_hichina ($domain) {
Preg_match ("|
(.+?)|is ", @file_get_contents (' http://whois.hichina.com/cgi-bin/whois?domain= ' $domain. '), $whois);
$whois [0] = str_replace (' Friendly tip: The expire
PHP extracts the php code of the root domain name based on the URL
Domain; echo "\ n"; echo getBaseDomain (' http://51.ca/index.php ')-> Domain; echo "\ n"; echo getBaseDomain (' http://blog.ab.cc.win.aisa.hk/index.php ')-> Domain
How do I add an authorization domain name or authorization code to php? I used the dede program as a small website. you want to add an authorization domain name or authorization code to this program. what are your solutions. it is
Previously in the PHP host domain name program used by a WHOIS check code to determine whether the domain name being queried is registered, the function includes most of the domain name
Parse PHP to obtain the implementation code of the current website and domain name. Copy the code as follows :? Obtain the current domain name: echo $ _ SERVER [SERVER_NAME]; obtain the source URL, that is, click the previous page
? The motto of the php network technology supervisor is "three people," which must be my teacher. The Code www.ctohome.com can be very SMART. I modified a small part to make it easier to use. $ Moreinfolistarray (storage WHOIS query host connection method atwww. ripe. netcgi-binwhois? Query, auwww.
// The motto of the network technology supervisor: the trio must have our teacher. Http://www.ctohome.com
// This cod
Is it feasible to obtain the first-level domain name code of various URLs through regular expressions? At the end of this post, changjay edited many URLs from 2010-09-0723: 25: 30. nbsp; similar to abc.abc.com nbsp;, abc. comabc nbsp;, www.abc.com.cn nbsp;, nbsp; abc.com.tw nbsp;, www. abc. co. is it feasible to obtain the first-level
Domain Name Query Code announcementNetwork Technology Director motto: Three people line, it must have my teacher Yan. Http://www.ctohome.comThis code can be said to be very smart, I changed a small part to make it easier to use.$moreinfolist = Array (//storage of WHOIS query host connection method' At ' => ' www.ripe.n
Level two domain name
The above code can be used in the form of a level two domain name to access the http://www. Domain 1/folder/in the corresponding folder within the page, such as the level two
Is it feasible to obtain the first-level domain name code of various URLs through regular expressions? At the end of this post, changjay edited many URLs from 2010-09-0723: 25: 30. nbsp; similar to abc.abc.com nbsp ;, can abc.com/abcnbsp regular expressions obtain the first-level domain
A few days ago, in order to enhance the SEO of this site, I switched 301 of all pages under another domain name: www.kanshule.com to www.jb51.net.
Since this site currently only has one blog, you can start with it.
The idea is very simple. Get the Domain Name of the current browser page. If it is the
Recently, I often see someone ask how to query the domain name in ASP is registered, so write this component, the main principle is to the Gopher site whois server to send WHOIS request, because not too much time, so very simple, at present can only realize to cnnic query, And the returned information is not processed, if you want to use, clear in the ASP to deal with it yourself. Later if there is time wil
As long as the space supports wildcard domain name resolution, there is no need for the server script language or DNS, you can use the front-end code to construct an unlimited second-level domain name:
// Global variableVaR curl = "http://www2.17389.com/" // the site or dire
Copy the Code code as follows:
Get the current domain name:
echo $_server[' server_name '];
Get the source URL, that is, click to the previous page URL of this page
echo $_server["Http_referer"];
$_server[' Request_uri '];//gets the suffix of the current domain
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.