[code] <?php // This is the file that handles all of the code for uploading and preparing the image // Setting some variable for handling the file $name = $_FILES['imagefile']['name']; $size = $_FILES['imagefile']['size']; $type = $_FILES['imagefile']['type']; $temp = $_FILES['imagefile']['tmp_name']; $newname = date(njyGs); $allowed = array('images/jpg', 'images/jpeg', 'images/png', 'images/gif', 'images/bmp', 'images/tif', 'images/tiff'); // Check various file parameters before allowing to be hosted if ($type != "image/gif"){ echo "Warning : You cannot upload that type of file."; exit; } [/code] Hmm, well how shoud this be done?