Posted by mich dobelman on 11/05/76 11:55
How can i just get the last modification date from the header list.
I though I can $request->headers [Last-Modified] to get the modification
date, but
without success.
<?php
include( "Snoopy.class.php" );
$request = new Snoopy;
$request->fetch( "http://www.mysite.com" );
if( ! $request -> error ){
while( list( $key, $val ) = each( $request -> headers ) ) {
echo $key.": ".$val."<br>\n";
}
}
?>
Navigation:
[Reply to this message]
|