<?php
/*
ini_set("error_display",1);
ini_set('memory_limit', '32M');
ini_set('upload_max_filesize', '24M');
ini_set('post_max_size', '32M');
//echo ini_get('upload_max_filesize');
*/
$uploadpath = 'upload/'; // directory to store the uploaded files
$max_size = 30000; // maximum file size, in KiloBytes
$alwidth = 900; // maximum allowed width, in pixels
$alheight = 800; // maximum allowed height,...