Location: PHPKode > scripts > Image copy resize > image-copy-resize/receipt.php
<?

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 );

?>
Return current item: Image copy resize