Login   Register  
PHP Classes
elePHPant
Icontem

File: image.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Ben Yacoub Hatem  >  Image to PHP  >  image.php  >  Download  
File: image.php
Role: Auxiliary script
Content type: text/plain
Description: Utility php script that used to display images from the generated class
Class: Image to PHP
Convert a directory of images into a PHP class
Author: By
Last change:
Date: 2004-04-05 01:25
Size: 399 bytes
 

Contents

Class file image Download
<?php

/**
 * Image.php call this file in your html for example :
 * 
 * <img src="image.php?img=img_name_gif" alt="">
 * 
 * @author Ben Yacoub Hatem <hatem@php.net>
 * @copyright Copyright (c) 2004
 * @version $Id$ - 05/04/2004 09:23:32 - image.php
 * @access public
 **/

require_once("gonximages.class.php");
if (isset(
$img) and $img!="") {
    
gonximage::getimage($img);
}

?>