Determing the type of file on retrieving from BLOB
I want to know the header/ or type of file when i get this field from Oracle BLOB as at run time I dont know which type of file I had uploaded to my BLOB field. I guess every file has some header that recognizes the type of file, now i want to get this information and accordingly set my content type to that. ie. like application/pdf.....or image/gif.......or html/text like that...please help me...
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center