Login   Register  
PHP Classes
elePHPant
Icontem

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Seyyed Morteza Hosseini  >  Random Picture  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: example file
Class: Random Picture
Pick a random URL from a list in a file
Author: By
Last change:
Date: 5 years ago
Size: 154 bytes
 

Contents

Class file image Download
<?php include($_SERVER['DOCUMENT_ROOT'].'MyPicture.class.php'); ?>

<img src="<?php $x = new MyPicture ?>" />
<img src="<?php $y = new MyPicture ?>" />