Return to Snippet

Revision: 32823
at October 2, 2010 19:29 by mikael12


Initial Code
function last_modified($url) {
	$headers = get_headers($url);
        // Return Unix timestamp
	return strtotime(str_replace('Last-Modified: ', '', $headers[3]));
}

Initial URL

                                

Initial Description

                                

Initial Title
Check Last-Modified

Initial Tags

                                

Initial Language
PHP