(mainly using two string functions implode () and explode)
I made the domain name query source code, mainly with two string functions implode () and explode, using these two functions of the powerful function of cutting strings can be queried. com,.net.,org.,cc.,tv domain name whois.
Echo '
";
if (Isset ($string))
Hello everyone, I am Chengzhou. Before you write an article "new and old domain name to talk about the old domain name is not insurmountable mountain", know my character friend may guess I write this article must have the next article, today is the last topic down to write, mainly about his new
Domain name resolution and domain name Pan-resolutionDue to the establishment of a series of sites such as the need to register a domain name now more and more friends, but registered domain
The difference between a level two domain name and a first-level domain name:Level two domain name is dependent on the existence of a domain name exists, that is, the top-level
Nginx configures the Chinese domain name and starts to configure the Chinese domain name directly written, but fails to parse the correct server. Then google finally found the cause.
The Nginx virtual host is bound with a domain name
Global array
echo $_server["Http_host"];
The bbs.it-home.org will be output.
Copy CodeLocal tests will output localhost.Method 2, using the Parse_url function;
";p Rint_r ($arr); echo"";? >The output is an array with the result:Array ([scheme] = Http[host] [Bbs.it-home.org[path] =/index.php[query] = referer=jbxue.com)Description: Scheme corresponds to the protocol, the host corresponds to the domain
PHP implementation of the method to get the domain name summary, PHP get the domain name summary
This paper summarizes the method of getting the domain name by PHP implementation. Share to everyone for your reference. The impleme
Domain Name detection and email domain name Detection
Background: Recently, the company's public account domain name was blocked because the company's website was hacked and uploaded to an invalid webpage. So... The
set server_name default property, the direct run will be reported Runtimeerror:application is not able to the create a URL adapter for request Independent URL generation. You might is able to the fix this by setting the server_name config variable. Description url_for is dependent on the request context, to generate a request context that is not dependent on (that is, in the request context or the program context , the most common is when you send a message asynchronously when you url_for the a
Some people have been asking me how to do this recently. Note: Domain Name mailbox, so sort it out and paste it out. It is very specific. You can compare it directly. What is Domain Name Email ? Suppose you have your own domain name
The main is to verify that the domain name's registrant mailbox is in the user-verified mailbox.Use the third-party interface.will be a bit slow, plus one in progress ... Load diagram.Front Code:Function Verifydomain (val) {var ajaxurl = app_root+ "/index.php?ctl=uc_domainapplyact=verify";var query = new Object ();Query.flag = 1;Query.fhash = __hash_key__;Query.domain = val;$.ajax ({Url:ajaxurl,DataType: "JSON",Data:query,Type: "POST", Beforesend:func
Today, the customer service Meimei asked me if the client nslookup a domain name prompts the following error:
650) this. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/11/67/wKioL1LOXWfyw6btAAX_tBS0rYE611.bmp "title =" 111.bmp "alt =" wKioL1LOXWfyw6btAAX_tBS0rYE611.bmp "/>
Let's take a look at the correct parsing process:
650) this. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/11/67/wKiom1LOXibD
/*** Intercept the specified string in a string, intercept the domain name, try to intercept the domain name of different URLs? * For example www.163.com,www.sohu.com.cn * string interception requires the location of the substring () * index, where you need to find the first " ." As the starting index for each
This afternoon I found a good thing on the Internet to provide free Domain Name Service: http://www.co.cc/
For ease of operation, after entering the website, first select the language: Chinese (simplified) in the top-right corner of the website)
First, you need to register an account. After successful registration, log on to the account.
Then, check whether the domai
It's easy to write, it's just a function.
Function FormatUrl (yes)
If Mid (yes,5,1) Yes1 = Left (yes,3)
Yes2 = Right (Yes,cint (len (yes))-3)
FormatUrl = yes1 "." Yes2
Else
Formaturl=yes
End If
End Function
' Get the remote page binary source code
Function getboy (URL)
' On Error Resume Next
Set objxml = Server.CreateObject ("Microsoft.XMLHTTP")
With Objxml
. Open "Get", Url,false, "", "" "
. Send
Getboy =. Responsebody
End With
Getboy = Bytestobstr (Getboy, "GB2312")
Set Objxml = Nothing
End
Hosts bind domain name and IP, but access IP and domain name, out of the content is not the same
The HOSTS file is so bound
119.57.113.31 cloudtest.cnfol.com
The access IP appears to be such content
The output domain name is a
yes. The yes array separated by commas is assigned to the new yes array.
For I = 0 to ubound (yes) 'traversal array loop startsUrl = "http://panda.www.net.cn/cgi-bin/Check.cgi? Domain = " Request. Form (" domain ") " ext = " yes (I)Wstr = getBoy (url) 'obtain the queried source codeIf instr (wstr, "unregistered domain name
Recently there is a demand, not the record of the domain name A, want to resolve to Hong Kong or domestic servers, but because of the non-filing, direct use of CDN analysis in the domestic visit will be very slowBut do not want direct directly to the IP, so found two ways to solve:Scenario One: Transfer to another server do 301 jump or ProxyThis doesn't have to be explained! The focus is on Programme IIScen
This article describes the Nginx implementation with the parameter directory domain name redirection two-level domain name method, there is a need to learn friends can refer to.The following code is a rule based on Nginx subdirectory 301 to another domain
I explained the second-level domain name on the IP address. when the second-level domain name does not allow him to access the address book of the main site, the second-level domain name is edited by liaohongchu from 2012-11-2116:
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.