database & upload.php updated

database & upload.php updated to include filename