$fp = fopen ("http://www.***.com/***.htm", "R"); To open a file under a Web in a read-only manner
foreach ($http _response_header as $info)//$http_response_header The file information header of the loop
echo $info. " <br> "; Finally output the record information
In the header, the displayed content includes whether the file exists, the size of the file, the file type, the encoding, and so on, and even the server name and version number used by the site. If you open a file such as ASP or PHP, it also contains some additional information.