Added correct checking on the submitRating.php page for the POST variables.
Added attributes to front end submit rating page for input length.