获取URL信息的类 使用这个类,你能获得URL的如下信息: – Host – Path – Statuscode (eg. 404,200, …) – HTTP Version – Server – Content Type – Date – The whole header string of the URL 复制代码 代码如下:<? /** * Class for getting information about URL’s * @author Sven Wagener <[email][email protected][/email]> * @co