Search the Community
Showing results for tags 'detection'.
Found 2 results
Detecting Mime Types
rklockner posted a topic in PHP Coding HelpI have a scenario where users are downloading files from a legacy system and uploading the files into a new system that I am supporting. Many of the files do not have an extension (most are tiffs). The issue we have is that the new system doesn't know how to open these files (we have them open in a preview window in the new system). I have tried numerous solutions, including finfo_file() and the depreciated mime_content_type() funcitons), but all they seem to return is "application/octet-stream". Thanks.
Virus Detection w/ Email Attachments
CodeAndCoffee posted a topic in MiscellaneousI've been thinking of techniques used by email providers to detect (unless they aren't directly detected, but it is assumed to be) a virus within an email attachment, per say. Besides, I'm generally interested in virus detection and consulted many research papers with no success whatsoever. Does anyone know a method? Are there any email providers using PHP in the backend anyway? Regards