I am in need to get the file type of the given file. I mean whether the given file is jpg or bmp or doc or xls. Please donot suggest me to check the file extension. (There might be a chance to change the extension of a doc file to jpg).
Thanks in Advance