L
L
LittleFatNinja2015-06-09 17:44:13
PHP
LittleFatNinja, 2015-06-09 17:44:13

How to parse mime.types?

how to get an associative array from such a file:

html    text/html; charset=UTF-8
css     text/css
js      application/x-javascript

jpeg    image/jpeg
jpg     image/jpeg
png     image/png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stalker_RED, 2015-06-09
@LittleFatNinja

codepad.org/vpRoLnz1

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question