ping tcp ping
One of the attributes I somehow missed with the HTML5 revolution was the ping
attribute; Other attributes were more popular, download
being one of them. Hell, I just stumbled upon the ping
attribute while reading an old forum post. The ping
attribute of an a
element represents a list of URLs to POST to when the link is clicked.
我以某种方式错过了HTML5革命的属性之一是ping
属性; 其他属性更受欢迎, download
就是其中之一。 地狱,我只是在阅读旧的论坛帖子时偶然发现ping
属性。 该ping
的属性a
元素代表网址,以POST的链接被点击时的列表。
A sample usage of the ping
attribute would look as follows:
ping
属性的示例用法如下所示:
<a href="/checkout" ping="/tracking/going-to-cart">Checkout</a>
I tried writing the POST data to file but the PHP $_POST
array was empty, so I can only assume no data is passed. As for why you'd use the attribute...I don't know. JavaScript tools provide tracking capabilities so I can only assume these POST pings can be coupled with session tracking to get more detailed information.
我尝试将POST数据写入文件,但是PHP $_POST
数组为空,因此我只能假定未传递任何数据。 至于为什么要使用该属性...我不知道。 JavaScript工具提供了跟踪功能,因此我只能假设可以将这些POST ping与会话跟踪结合使用以获得更详细的信息。
Have you used the ping
attribute before? If so please let me know what you used it for!
您以前使用过ping
属性吗? 如果是这样,请告诉我您的用途!
ping tcp ping