PHP Classes

File: image.php

Recommend this page to a friend!
  Classes of Vinay Yadav  >  vinWebStats  >  image.php  >  Download  
File: image.php
Role: Auxiliary script
Content type: text/plain
Description: Web Bug - Include this in all your scripts.
Class: vinWebStats
Web page statistics
Author: By
Last change: Role Changed from documentation to application script.
Date: 19 years ago
Size: 795 bytes


Class file image Download
    * A web-bug the prints out an 1x1 invisible image

    * A database handler is needed....
$db = new db_print;



header('Content-type: image/gif');
header('Expires: Sat, 22 Apr 1978 02:19:00 GMT');
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');


For more information send a message to info at phpclasses dot org.