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
Post a Comment