This is my code:
$target = "text/theatre";
$target = $target . basename( $_FILES['uploaded']['name']) ;
echo "The file ". basename( $_FILES['uploadedfile']['name']). " has been uploaded";
echo "Sorry, there was a problem uploading your file.";
I would like to have the image resized to 360 X 300 upon upload. Could somebody please modify this code and repost it?