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

[email protected] ("Robert P. J. Day")
Newsgroups php.general
Message-ID <alpine.LFD.2.00.1003081136380.8249@localhost>
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
========================================================================
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.