Re: :: finfo_open

See all posts Reply

Re: :: finfo_open new!
by Jack web, 9 years ago
Hello, somebody can you help me?

I am using the upload class, but returns a notification of when we include the class in another file, below, could know how to solve?
The file and submitted successfully, but returns these errors

Erro na Linha: 2889 :: finfo_open(C:\wamp\bin\php\php5.5.12extras\magic): failed to open stream: No such file or directory
C:\wamp\www\folder\class.upload.php
Erro na Linha: 2889 :: finfo_open(C:\wamp\bin\php\php5.5.12extras\magic): failed to open stream: No such file or directory
C:\wamp\www\folder\class.upload.php
Erro na Linha: 2889 :: finfo_open(): Failed to load magic database at 'C:\wamp\bin\php\php5.5.12extras\magic'.
C:\wamp\www\folder\class.upload.php
Erro na Linha: 2966 :: preg_match(): Compilation failed: invalid range in character class at offset 7
C:\wamp\www\folder\class.upload.php
Erro na Linha: 3011 :: preg_match(): Compilation failed: invalid range in character class at offset 7
C:\wamp\www\folder\class.upload.phpReply
Re: :: finfo_open new!
by colin, 9 years ago
Your PHP configuration regarding MIME detection is incorrect, you will need to make sure PHP is correctly set up.

Please note that the class is not supported in Windows, although it has been reported to work fine.Reply
Re: :: finfo_open new!
by Jack web, 9 years ago
Thank you very much

You would tell me the correct configuration please? Or step bu step

HugsReply
Re: :: finfo_open new!
by colin, 9 years ago
I am sorry, I don't use Windows, I cannot help you there. But you can search for helpReply