PHP Classes

File: example.php

Recommend this page to a friend!
  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: 8 years ago
Size: 154 bytes


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

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