Re: FILEINFO_MIME_TYPE is NOT defined.

Home \ forums/reply \ Re: FILEINFO_MIME_TYPE is NOT defined.
#1528
Michael Gilkes
Keymaster

#Enjey. You’re welcome. De Nada.

En:

What you need to do is to find out exactly what you server is detecting for each archive type (zip, rar, etc.). Place one of each type of file in any folder on your server, and place the test_script in it, then run the test_script. After you run the test script, you will see the exact mime type detected for each file. Just use that mime type for the extension.

Es:

Lo que hay que hacer es averiguar exactamente lo que tu servidor está detectando para cada tipo de archivo (ZIP, RAR, etc.) Coloque uno de cada tipo de archivo en cualquier carpeta en su servidor, y coloque el test_script en el, despues, ejecute el test_script. Después de ejecutar el script de prueba, podrás ver el tipo exacto mimo detectado para cada archivo. Sólo tiene que usar ese tipo MIME para la extensión.