Re: knowing file's mime-type

From: Date: Wed, 10 Jan 2001 18:48:18 +0000
Subject: Re: knowing file's mime-type
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-33733@lists.php.net to get a copy of this message
Chris Lee wrote: > > use exec() and unix's command 'file' > > exec("file $filename"); > > and admire the output :) I know, but "file" does not gives it based on /etc/mime.types, it even has nothing to do with apache..... Nikolai

« previous php.general (#33733) next »