It is basic coding. If you are expecting a number within a certain range, then check for it. If you are expecting uploads of a certain type, check for it. If the data does not pass the validation check, reject it with an error message or however you want to handle it.
Leave a comment: