filepath - how to check a file path is an image or not in php? -


I have a table that stores file path of images.documents, pdf etc. ... my query

select File_Paths from the upload

Now how can I check that the file path is image or is not using PHP ... if it is an image So I want to see it or otherwise download it .......

Use the function .


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -