ciao a tutti...
c'è una funzione che mi restituisce il mimetype di un file audio/video?
ciao a tutti...
c'è una funzione che mi restituisce il mimetype di un file audio/video?
tipo questa?
mime_content_type
forza finalfantasy...usa il cervello
ehm...
come mai x un mp3 mi restituisce text/plain?
probabilmente il suddetto file sul server che stai usando è poco aggiornato o per qualche motivo non è corretto...Returns the MIME content type for a file as determined by using information from the magic.mime file. Content types are returned in MIME format, like text/plain or application/octet-stream.