RE: [PHP] using getimagesize on remote files

From: Date: Mon, 21 Apr 2003 05:44:52 +0000
Subject: RE: [PHP] using getimagesize on remote files
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-144603@lists.php.net to get a copy of this message
> -----Original Message----- > From: Daniel R. Anderson [mailto:dan@mathjunkies.com] > > The header format specification guarantees it! > > So if I use PHP to output the following header, and nothing else: > > header('Content-Type: text/html'); > > PHP automatically outputs: > > header('Content-Size = whatever'); (or whatever it is :-) ) > NO!!!!! The header format specified for the FILE (probably JFIF for JPEG format)! Nothing to do with HTML headers! Mark C.

« previous php.general (#144603) next »