Just magic.mime

On Jan 23, 2008 7:46 PM, b logica <[EMAIL PROTECTED]> wrote:

>
> On Jan 23, 2008 3:38 AM, bob <[EMAIL PROTECTED]> wrote:
> > Here is something interesting:
> >
> > 1) if i have the following:
> >     $handle = finfo_open(FILEINFO_MIME);
> >     The output i get is finfo_open() [function.finfo-open]: Failed to
> load
> > magic database at '(null)'.
> >
> > 2) if i have the following:
> >     $handle = finfo_open(FILEINFO_MIME,'ssdfgsdsfdasdfs');
> >     of if i have the following:
> >      $handle = finfo_open(FILEINFO_MIME,'c:\magic');
> >      I do not get the above warning, but var_dump($handle) returns
> false;
> >
> > 3) if i have the following
> >     $handle = finfo_open(FILEINFO_MIME,'c:\magic.mime');
> >     finfo_open() [function.finfo-open]: Failed to load magic database at
> > 'C:\magic.mime'.
> >
> > What does this mean?
> >
> >
>
> Do you have magic.mgc and magic.mime.mgc in that directory also, or
> just magic.mime?
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to