/* File Checking */
if (filesize($_FILES['pic']['size']) > 5242880)
die('Too Big, Maximum Size is <strong> 5MB </strong>. <p> Please Wait As You Are Sent Back To The Change Photo Page... <meta http-equiv="refresh" content="3;URL=java_script_: history.go(-1)">');
if (mime_content_type($_FILES['pic']['type']) == "image/gif");
elseif (mime_content_type($_FILES['pic']['type']) == "image/jpg");
elseif (mime_content_type($_FILES['pic']['type']) == "image/jpeg");
elseif (mime_content_type($_FILES['pic']['type']) == "image/bmp");
elseif (mime_content_type($_FILES['pic']['type']) == "image/png");
else
die ('<stong> Wrong </strong> Photo File Type, Must be: <strong> <p> Gif <p> Jpg <p> Jpeg <p> Bmp <p> Png </strong> <p> Please Wait As You Are Sent Back To The Change Photo Page... <meta http-equiv="refresh" content="4;URL=java_script_: history.go(-1)">');
/* File Checked */