If you check whether the mms link is successfully connected? What should I do?
Source: Internet
Author: User
If you check whether the mms link is successfully connected? For example, the address mms: // live.cri.cn/oldiesif the source site changes, I want to detect that the chain operator is still successful. use the get_headers () function to detect the http File & nbsp; however, this function does not seem to be able to detect whether the mms link is?
For example
Mms: // live.cri.cn/oldies
If the origin site has changed, I want to check whether the link is successfully linked.
Previously, the get_headers () function was used to detect http files.
However, this function does not seem to work for mms.
Is there any other way to detect it?
------ Solution --------------------
Get_headers: Send the server response HTTP request
Get_headers (string url [link format])
Get_headers () returns the HTTP request of the server as an array. If the execution fails, FALSE and an error level E_WARNING are returned.
The optional parameter is set to 1. get_headers () can analyze the system response speed and the keys in the array.
Is that mms a streaming media transmission protocol ?!
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.