如何获取检查URL状态的代码? [英] How Can I Get The Code Of Checking Url Status?
本文介绍了如何获取检查URL状态的代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何获取检查网址状态的代码?
How can i get the code of checking url status?
推荐答案
http://css-tricks.com/snippets/php/check-if-website-is-available/ [ ^ ]
http://codekarate.com/blog/validating-url-php [ ^ ]
http://www.tonyjesus.com/2011/how-to-check-website-status-using-php#.UxNSmPmSylA [ ^ ]
或使用 cURL ,参见:
http://frankkoehl.com/2009/09/http-status-code-curl-php/ [ ^ ]
-KR
http://css-tricks.com/snippets/php/check-if-website-is-available/[^]
http://codekarate.com/blog/validating-url-php[^]
http://www.tonyjesus.com/2011/how-to-check-website-status-using-php#.UxNSmPmSylA[^]
Or use cURL, See :
http://frankkoehl.com/2009/09/http-status-code-curl-php/[^]
-KR
这篇关于如何获取检查URL状态的代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文