Alternative to mime_content_type()
Posted: Thu Jan 14, 2010 1:23 pm
In my code i have the following:
What would be a good alternative to this line of code now that mime_content_type is depreciated?
Code: Select all
$type = mime_content_type($_FILES[$file_upload]['tmp_name']);