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 manish kuikel  >  Image Thumbnail  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: index
Class: Image Thumbnail
Create thumbnails from uploaded image files
Author: By
Last change:
Date: 2011-12-27 03:37
Size: 781 bytes
 

Contents

Class file image Download
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Image thumbnails</title>
</head>
<body>
<?php
include('uploadclass.php');
if (isset(
$_POST['Submit']) && ($_POST['Submit'] == 'Submit')) {
$images = new get_thumbnail;
$images ->thisimage 'manish';
$images-> create_thumb(); 
echo 
"Thumbnails has been created.";
} else {
?>
<form action="" method="post" enctype="multipart/form-data" name="form1" id="form1">
  <input name="manish" type="file" id="manish" />
  <input type="submit" name="Submit" value="Submit" />
</form>
<?php
}
?>
</body>
</html>