<?
require_once ( "classes/RotateImage.php" );
// Get the base URL for the current location
$baseURL = "http://" . $_SERVER["HTTP_HOST"] . dirname ( $_SERVER["SCRIPT_NAME"] );
// Current path to this location
$path = dirname ( __FILE__ );
$rotate = new RotateImage ( $baseURL, $path, "images", "/^rotation_image_(.)*\.jpg$/" );
echo $rotate->toHtml ();
?>
|