How to check in PHP if uploaded file is an image type ?

When visitor uploads the file by using form and input field, how to check if the uploaded file is really an image - PNG, JPG, JPEG or GIF ?
17 Apr 2020 at 04:53 PM
0give a positive ratinggive a negative ratingshow more
Share on FacebookShare on TwitterShare on LinkedInSend email
Follow us on Facebook
2022 AnswerTabsTermsContact us