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).
Read file headers, as in the binary data that is stored within the first X bytes of the file.
Originally Posted by temp.user123
You know... You're not so smart. Do you need me to educate you?
If you say, "please," (and do so, nicely) then I will show you where you're dead wrong.
For example I believe the first 4 bytes of some formatted wave files start with "RIFF"
Originally Posted by temp.user123
You know... You're not so smart. Do you need me to educate you?
If you say, "please," (and do so, nicely) then I will show you where you're dead wrong.
You know... You're not so smart. Do you need me to educate you?
If you say, "please," (and do so, nicely) then I will show you where you're dead wrong.
Bookmarks