I am working with the pdf at the end of this URL
https://www2.blackrock.com/webcore/litService/search/getDocument.seam?venue=PUB_INS&source=CONTENT&serviceName=PublicServiceView&ContentID=51648
By viewing it, we can see that it's the 12/31/2012
edition. Is there a way that I can get some timestamp data on the pdf itself? Upload date, created date, modified date, anything in that ballpark?
I have tried the following and both return 12/31/1969
$pdfURL = 'https://www2.blackrock.com/webcore/litService/search/getDocument.seam?venue=PUB_INS&source=CONTENT&serviceName=PublicServiceView&ContentID=51648';
$rawPDF = file_get_contents($pdfURL);
echo date("F d Y H:i:s.", filemtime($pdfURL));
-AND-
echo date("F d Y H:i:s.", filemtime($rawPDF));
I have also tried
$headerArray = array();
$headerArray = get_headers($pdfURL, 1);
echo "<PRE>";
var_dump($headerArray);
echo "</PRE>";
However Last-Modified
doesn't exist in the header array