Login   Register  
PHP Classes
elePHPant
Icontem

File: receipt.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Vibert Bruno  >  Image copy resize  >  receipt.php  >  Download  
File: receipt.php
Role: Example script
Content type: text/plain
Description: Test upload post
Class: Image copy resize
Copy uploaded image keeping aspect ratio
Author: By
Last change:
Date: 2003-01-20 10:08
Size: 234 bytes
 

Contents

Class file image Download
<?

require( 'class_resize.php' );

// resize $_FILES[ 'myUploadedFile' ] widht 
$thumbail = new resize'fichier'400300 );

// save the resized image to "./TEMP.EXT"
$thumbail -> saveTo"TEMP.".$thumbail -> type );

?>