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
0pnshow more
StorStor
Share on FacebookShare on TwitterShare on LinkedInSend email
Follow us on Facebook & Twitter
2022 AnswerTabsTermsContact us