<?php
include 'class.RemoteFileStats.inc';
$r = new RemoteFileStats('www.zend.com', 'images/logo.gif');
if($r->error) {
echo $r->getErrorStr(), '(', $r->getErrorNo(), ')<br>';
} else {
echo $r->getRemoteServer(), '<br>',
$r->getRemoteLastModified(), '<br>',
$r->getRemoteFileSize(), '<br>',
$r->getRemoteFileType(), '<br>';
}
?>
|