Vote Details for "MIME_Type" by arnaud

» Details
» Comment
When running the example.php (which i named mime.php in the following). I get the following error.

Checking type of: example.php

Notice: Undefined variable: type in /usr/local/lib/php/MIME/Type.php on line 331

Call Stack:
0.0002 1. {main}() /home/arnaud/testbed/mime.php:0
0.0182 2. mime_type::autodetect('example.php') /home/arnaud/testbed/mime.php:26

Notice: Undefined variable: type in /usr/local/lib/php/MIME/Type.php on line 335

Call Stack:
0.0002 1. {main}() /home/arnaud/testbed/mime.php:0
0.0182 2. mime_type::autodetect('example.php') /home/arnaud/testbed/mime.php:26