Is there a way I can grab the dimensions of the picture I am uploading on my following script?
if ($_FILES['upload']['size'] < 256000) {
$uploaddir = "../images/uploaded";
$uploadfile = $uploaddir."/".$_FILES['upload']['name'];
$db_upload = "images/uploaded"."/".$_FILES['upload']['name'];
move_uploaded_file ($_FILES['upload']['tmp_name'], $uploadfile);
}
I really need to resize it to a suitable size!
Thanks