PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Daniel Kushner   RemoteFileStats   example.php   Download  
File: example.php
Role: ???
Content type: text/plain
Description: An example use of this class
Class: RemoteFileStats
Retrieves statistics of a remote file (http)
Author: By
Last change:
Date: 21 years ago
Size: 350 bytes


Class file image Download
<?php include ''; $r = new RemoteFileStats('', '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>'; } ?>