PHP Classes

File: receipt.php

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


Class file image Download

require( 'class_resize.php' );

// resize $_FILES[ 'myUploadedFile' ] widht
$thumbail = new resize( 'fichier', 400, 300 );

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


For more information send a message to info at phpclasses dot org.