PHP Classes

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  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: 13 years ago
Size: 350 bytes


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