Created
September 13, 2018 05:15
-
-
Save talha08/fa0a67eab9617c6d0ab7fa4b399782ce to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if(@is_array(getimagesize($mediapath))){ | |
// this is image | |
} else { | |
//not image | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment