Re: best way to determine (MIME) content type of a stream of bytes?

From: Date: Mon, 08 Mar 2010 16:37:24 +0000
Subject: Re: best way to determine (MIME) content type of a stream of bytes?
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-302605@lists.php.net to get a copy of this message
On Mon, 8 Mar 2010, Ashley Sheridan wrote: > What about writing the first n bytes to a file and then passing that > to the command line? I'm assuming a Linux server here, but it should > do the trick. gaaaaah! i was hoping for something that wouldn't make me want to gouge out my eyes with a soup spoon. :-) rday -- ======================================================================== Robert P. J. Day Waterloo, Ontario, CANADA Linux Consulting, Training and Kernel Pedantry. Web page: http://crashcourse.ca Twitter: http://twitter.com/rpjday ========================================================================

« previous php.general (#302605) next »