This article goes on to talk about this ping service problem, first of all to sum up and summarize the following information:
"1" Manual ping Service Address:
Baidu Address: http://ping.baidu.com/ping.html
Google (google) address:
Major search engine Ping service PHP implementation method to make the site quickly included"1" Manual ping Service Address:Baidu Address: http://ping.baidu.com/ping.htmlGoogle (google) address: http://blogsearch.google.com/pingFeedsky (Flying)
This article goes on to talk about this ping service problem by summarizing and summarizing the following information:
"1" Ping service address manually:
Baidu Address: http://ping.baidu.com/ping.html
Google (google) address:
The use of PHP-Java-Bridge (Ping An Bank payment function Special Edition) used PHP-Java-Bridge last year when Ping An Bank was made, later I wrote a blog record some of my experiences using PHP-Java-Bridge (connection: http://my.oschina.net/kenblog/
Last year, when I was doing ping an bank, I used the Php-java-bridge, and later wrote a blog record of some of the experiences of using Php-java-bridge (connection: http://my.oschina.net/kenblog/blog/316234).Then there are a lot of friends on the
Hundreds of IP, is to be able to find a timely IP is not through.
The message is then returned.
Side dishes, just on the internet to read a few code, useful ping, useful socket,curl, to write
But do you think the efficiency is not quite appropriate?
Test procedure:
Exec ("ping baidu.com", $ list );For ($ I = 0; $ I Print $ list [$ I]. "\ n ";}?>
Chinese materials:This function is generally only used in linux
Few people put php on a windows server to run it. Some functions in php only support
Because the friend said the port is not connected, deliberately tried the ping test with PHP, the result is quite satisfactory.
The code and the run diagram are as follows: (if there is a great God to improve the better)
$host = '
Recently, when I was doing SEO, in order to enable quick indexing of external links, I thought of using the ping function. both google and Baidu have related ping introduction, if you are interested, you can check related knowledge. The following
Php security configuration records and common errors (Summary), common php errors
After the php environment is deployed, some security settings are made. In addition to being familiar with various php vulnerabilities, you can also configure php. ini
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.