Re: knowing file's mime-type

From: Date: Wed, 10 Jan 2001 19:01:50 +0000
Subject: Re: knowing file's mime-type
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-33736@lists.php.net to get a copy of this message
besides, a file type can be defined in httpd.conf, not in mime.types At 19:48 10.1. 2001, Nikolai Vladychevski wrote the following: -------------------------------------------------------------- >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 > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net >For additional commands, e-mail: php-general-help@lists.php.net >To contact the list administrators, e-mail: php-list-admin@lists.php.net ------end of quote------ ____________________________________________________________ Cynic: A member of a group of ancient Greek philosophers who taught that virtue constitutes happiness and that self control is the essential part of virtue. cynic@mail.cz

« previous php.general (#33736) next »