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: 22 years ago
Size: 350 bytes
 

Contents

Class file image Download
<?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>'; } ?>