Ask a Question
Advertise on boostr.in
how to find the extension of an image from path in php using -'php,image'
how to find the extension of an image from path in php ¬†using -'php,image'
Is there any standard function in PHP to find only extension of an image from the corresponding file path?
For example ff my image path is like '/testdir/dir2/image.gif' then the function should return 'gif'.
Sep 7, 2015
to add a comment.
Your name to display (optional):
Email me at this address if my answer is selected or commented on:
Email me if my answer is selected or commented on
Privacy: Your email address will only be used for sending these notifications.
To avoid this verification in future, please