just wondering if there is anything special you are ment to do to get mime_content_type() to work?

i always get a error saying
Fatal error: Call to undefined function: mime_content_type() in blah blah blah

im calling it like this

$file = "something.zip";
$filetype = mime_content_type($file);
echo "this $file has the following filetype: $filetype";

    (PHP 4 CVS only)

    From the manual. That's the only possible reason I could find.

    If you were using it incorrectly it would spit back an error. The fact that it's saying the function is undefined means it's not in your PHP version.

      Write a Reply...