mime_content_type()

From: Date: Thu, 03 Feb 2005 16:38:42 +0000
Subject: mime_content_type()
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969366345@lists.php.net to get a copy of this message
HI, I am using PHP 5.0.3 , Apache 1.3.33 and MySQL 4.1.0 on Windows XP proffesional Edition. I want to retrieve and store the MIME type of a binary large object by using the mime_content_type() function, I have uncomment the php_mine_magic.dll extension to my php.ini and added this to it: mime_magic.magicfile = "C:\path\to\php\install\magic.mime" I have also placed a copy of the php_mine_magic.dll on C:\php\ scenario: $form_data= $_POST['form_data']; // gets the picture via POST METHOD $form_data_size= filesize($form_data);// works fine $form_data_type= mime_content_type($form_data);// don't return anything. can you help ? kind regards David de Diego. --------------------------------- Do you Yahoo!? Yahoo! Search presents - Jib Jab's 'Second Term'

« previous php.doc (#969366345) next »