Here we get data from the data interface of hichina or xinnet, and process and output data through simple php text.
Copy codeThe Code is as follows: $ Domain = $ _ GET ['q'];
Preg_match ("|
| Is ", @ file_get_contents ('HTTP: // www.xinnet.cn/Modules/agent/serv/pages/domain_whois.jsp? DomainNameWhois = '. $ domain.' noCode = nocode'), $ whois );
Echo $ whois [1];
?>
Here, some may ask, isn't this a simple php script ?! Which is the api interface? Let
Here we obtain data from the data interface of the WAN or new network, and then output it through the simple text processing of PHP.
Copy CodeThe code is as follows:
$domain = $_get[' Q '];
Preg_match ("
Is ", @file_get_contents (' http://www.xinnet.cn/Modules/agent/serv/pages/domain_whois.jsp?domainNameWhois= '. $ Domain. ' nocode=nocode '), $whois);
echo $whois [1];
?>
Do here, may have some friends to ask, this is not a simple PHP script it?! What is A
Today there is an idea, want to find out whether all the short domain name is registered, A-z1-9 composed of all 3, 4-bit combination of. com domain name has not been registered, so open dry, Google know that WAN provides an API can query, http://panda.www.net.cn/ Cgi-bin/check.cgi?area_domain=google.com, the back of the google.com can be changed to do you want to query
You can enter the following delivery Name * (shentong-EMS-sf-Yuantong-Zhongtong-e.g. Fengda-Yunda-Tiantian-Huitong-Quanfeng-Debon-Jiasheng-aizhenda-package Ping-bang delivery) logistics * DHL Express-Daejeon logistics-Debon logistics-EMS domestic-EMS International-email Bao-Van Ke delivery-goutong express-registered letter-kickota-international parcel * Huitong express-Huayu logistics-Huiqiang Express -Jiaji express-Jiayi logistics-Canada Post
The express delivery
Original post address: http://devnet.kentico.com/Knowledge-Base/API-and-Internals/Using-the-data-layer-API-to-query-your-Kentico-dat.aspx
This article describes how to make use of the kentico API to perform complex queries or create generic code that queries both system and Custom tables.
For system tables related to o
Currently, it supports common domestic express deliveries such as Shentong Express query interface, Yuantong Express Query API, Zhongtong Express, Yunda Express, Huitong Express, EMS Express, SF Express, Daily Express, and home Express, at the same time, it also supports query services for common overseas express deliv
Php-based water quality Query api call code example
Code description: php-based water quality Query api call code exampleAssociated Data: Water qualityInterface address: http://www.juhe.cn/docs/api/id/34
// +-----------------------------------------
In the 2.X version, this delete by query function was removed because the official thought it would cause some errors to install the plugin itself if needed.Bin/plugin Install Delete-by-queryWhen you need to useDELETE/Index name/type/_query{"query"needed to be emptied: {"match_all " : {}}}Then in the 5.x version of the API is again the official back to the self-f
Phpwhois Query API creation method here we get data from the data interface of HiChina or Xinnet, and then output it through simple php text processing.
The code is as follows:
$ Domain = $ _ GET ['Q'];
Preg_match ("|
(. + ?)
| Is ", @ file_get_contents ('# Modules/agent/serv/pages/domain_whois.jsp? DomainNameWhois = '. $ domain.' noCode = nocode'), $ whois );
Echo $ whois [1];
?>
Here, some
Query class interface API, such as on their own website can directly invoke their own written interface, such interface how to write, hope to give some ideas,
For example, to query a site's historical snapshot of this type of interface, such tools are written by their own API interface?
Find a lot of there is no rea
Currently, it supports common domestic express deliveries such as Shentong Express query interface, Yuantong Express Query API, Zhongtong Express, Yunda Express, Huitong Express, EMS Express, SF Express, Daily Express, and home Express, at the same time, it also supports TNT Express, FedEx Express, DHL Express, UPS Express and other common foreign express deliver
Taobao Company provides a very useful IP geographic information query interface.
Here: http://ip.taobao.com/
TaobaoIPQuery2 This class will greatly simplify the relevant information query.
Class TaobaoIPQuery2 File:
TaobaoIPQuery2.Class.php:
Call:
$ip = $_server["REMOTE_ADDR"];
$ipquery = new Taobaoipquery ($IP);
$region = $ipquery->get_region ();
$country = $ipquery->get_cou
ORM database query operation API in the Django view, and django view ormapiAPIS for querying table records
Operation: models. Table name. objects. Method ()
All (): Query all results filter (** kwargs): it contains the object get (** kwargs) that matches the given filter condition ): returns an object that matches the given filtering condition. Only one of the re
/dom ", " dojo/on " ," dojo/domready! " ], function (Findtask, Findparameters, Arrayutils, Dom, on) { // code });Oh yo, Findtask actually did not use query, but to switch to Findparameters. It seems to be different from the words query, Find, search.function parameter skeletonfunction(Findtask, Findparameters, Arrayutils, Dom, on) {varloadingimg = Dom.byid ("Loading"); varFind =Ne
Element layer Range Query attributes arcgis api for js, arcgisapi
This blog is reprinted. Thanks to the blogger. Original article: Workshop.Element layer Range Query attributes
This article mainly uses Query and FeatureLayer. setDefinitionExpression to Query the range attrib
In the use of Baidu API to query the latitude and longitude of multiple addresses, because the Baidu API provides latitude and longitude Query method is a callback function, and subsequent operations must be achieved by latitude to complete to proceed, the problem exists in how to judge whether all the places are callb
You can use the Shenzhen phone number to query the balance, card validity period, and other information. Knowledge of Domxpath and Curl is used. The source code has been hosted on github. In addition, you need to load a class: myclass Project address: github. comskiydev Demo: api. oupag. comdevapishenzhentong. php? Cardn
You can use the Shenzhen phone number to query
Use bo api to develop word query software.
Bo api is a free Data Service API (http://www.boapi.net/), its word query interface http://service.boapi.net/EnWord/EnWord.ashx? Key = AppKey type = w word = good, where AppKey is the applied key and word is the word to be queried
the fieldName startIndex (optional): from which the store The default value is 0 anyMatch (Optional). The default value is match starting from the first character, similar to 'a % 'in SQL. If it is set to True, it is full match, similar to '% a %' in SQL. The default value is falsecaseSensitive (Optional). If it is set to true, Case sensitivity is enabled. The default value is falseexactMacth (Optional). If it is set to True, exact query is performed
distancedef __str__ (self):return self.name + "" +self.addrCreate Method 2 : Add data to a one-to-many relational tableCreate a Publish object first#方法2, first find a Publisher object publish_obj = Publish.objects.get (id=2)Then use the Create method to give the Publish_obj object to the Publish table#创建book对象, Book.objects.create ( title = ' Xiangtalan ', price = 23.50, publish = Publish_obj, )Run the program, re-access the View function Add,url the address bar to
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.