Notice: Undefined index: photo in /var/www/html/upload.php on line 4

Notice: Undefined index: photo in /var/www/html/upload.php on line 7

Warning: getimagesize(): Filename cannot be empty in /var/www/html/upload.php on line 7
File is not an image.