Set current page full address is: Http://www.jb51.net/aaa/bbb.aspx?id=5name=kelli"/HTTP" is the protocol name"Www.jb51.net" is the domain name"AAA" is the station name."Bbb.aspx" is the page name (file name)"Id=5name=kelli" is a parameter"1" gets the full URL (protocol name + domain + site name + file name + parameter)string url=Request.Url.ToString (); URL= http://"2" gets the site name + page name + param
Get the NIC MAC address
@exec ("Ipconfig/all", $array);
for ($Tmpa; $Tmpa
if (eregi ("Physical", $array [$Tmpa])) {
$mac =explode (":", $array [$Tmpa]);
echo $mac [1];
}
}
Get the URL master domain
by http://bbs.it-home.org
function GetDomain ($url) {
$pattern = "/[\w-]+\. (COM|NET|ORG|GOV|CC|BIZ|INFO|CN) (\. (CN|HK)) */";
Preg_match ($pattern, $url, $matches);
if (count ($matches) > 0
Frame is still very popular, many places through it to achieve a special situation. For example, traditional upload, select under IE6, Proxy, Cross-domain and so on. Today, a brief description of the operation across the IFRAME, mainly using jquery to manipulate the DOM structure.
Copy Code code as follows:
Copy
First, I rename the following Enterprise Domain and enterprise outline in the Enterprise Domain of the Project Server.Code:
Task cost enterprise cost 1 (enterprise cost 1)Task mark 2 Enterprise mark 2Task construction period enterprise construction period 1Task date enterprise date 1Task digital enterprise number 3Task text 2 Enterprise text 2Task enterprise outline
first Preferential information
Share a 2013-year latest GoDaddy domain name renewal Discount code
Discount Amount: $8.17/yr
Godaddy. com domain name Registration discount code: cjc799b033
After testing can have, support Alipay.
Second preferential information
Share two godaddy
Network Technology Director motto: Three people line, it must have my teacher Yan. Http://www.ctohome.com
This 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.net/cgi-bin/whois?query= ',
' Au ' => ' www.aunic.net/cgi-bin/whois.aunic ',
' BM ' => ' www.bermudanic.bm/cgi-bin/BermudaNIC/rwhois_query_get.pl?query_text= ',
' ch '
you want to install, then open the following URLHTTP//Your domain/program directory/index.phpIf the installation is the first time, the system will automatically jump to the installation interface, you just need to fill in the relevant information as required to complete the installation, complete installation can be used.Admin Path:/http//your domain/program directory/admin/Reinstall method: If you have i
This article mainly and we introduce how PHP obtains the current host, domain name, url, path, port and other parameters, with a certain reference value, interested can understand, hope to help everyone.
Lab Environment:
Test the domain name Daxiangtravel.com,apache root directory/mnt/, test the directory/mnt/qa/test, the test file is named index.php.
Get the code
(function () {for (var c=location.host,a= "", b=0;bAdd this piece of code to the top of the JS file that does not allow other domain names to load, the encryption is actually used with a JS compression tool can be. The top code I'm using is Google's Closure Compiler. JS file to add the above code, only allow www.test.c
This is a very useful code, and binding multiple domain name ASP code similar, if you have only one PHP space, and you want to put more than one site, the following code can help you. The code is very simple, similar to the ASP code
This article mainly introduces functions for detecting ip addresses and domain names in php and js, so that you can detect ip addresses and domain names in programs. For more information, see
Php ip address format detection function
The code is as follows:Function checkIp ($ ip ){$ Ip = str_replace ("", "", $ ip );$ Ip = strtolower ($ ip );$ Ip = str_replace ("
the/98/me and NT4.0, Suitemask is always zero. )[/Align] [Align=left]3example [/align][align=left] The following examples tell you how to install in some versions of Windows and check the service pack level on multiple OS editions. [/Align] [Code] [Code]functionInitializesetup:boolean;varversion:twindowsversion; s:string;beginGetwindowsversionex (Version); //do not accept installation in the Home edition o
+----------------------------------+Put all the files under the program folder. Upload to the location you want to install. Then open for example the following URLHTTP//Your domain/program folder/index.phpAssuming that the first installation, the system will take the initiative to jump to the installation interface, you just need to fill in the relevant information as required to successfully complete the installation. It is ready to use after install
Title: IOS8 Troubleshoot getting location coordinate information error (Error Domain=kclerrordomain code=0)A few days ago solved the problem of unable to use the address location service on the iOS8, recently debugging on the simulator found to obtain location coordinates information will be error message: Didfailwitherror:error domain=kclerrordomain
Today I would like to introduce you two JS to get the current domain name
The code is as followsGet the current domain name
1, Window.location.host;2, Document.domain;
Get current page address
url = window.location.href;
Example
The code is as follows
Add:
Get current domai
An error occurred using the Avfoundation Library on iOS for video recording:
Error domain=avfoundationerrordomain code=-11823 "cannot store" userinfo=0x1782f8a00 {nsunderlyingerror=0x17064f4e0 "" Operation couldn ' t be completed. (Osstatus error-12672.) ", Averrorrecordingsuccessfullyfinishedkey=false, nslocalizedrecoverysuggestion= please retry the storage. , nslocalizeddescription= cannot store},video.m
EF Code-first provides a collection of dataannotation attributes that can be used on a domain class or its properties, and the Dataannotation attribute overrides the default EF conventions.Dataannotation exists in two namespaces:System.ComponentModel.DataAnnotations and System.ComponentModel.DataAnnotations.SchemaNote: DataAnnotations only provides a subset of the configuration options, all of the configura
registering remote notification is an error error domain=nscocoaerrordomain code=3000 " application not found " aps-environm ENT " authorization string " userinfo=0x17426e940 {nslocalizeddescription= no application found " Aps-environment " the authorization string } 1. Update the certificate in X-code: Xcode > Preferences > Accounts > Pick your account > pick
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.