displaying a TIFF file

From: Date: Tue, 12 Nov 2002 23:36:53 +0000
Subject: displaying a TIFF file
Groups: php.general 
Request: Send a blank email to php-general+get-124097@lists.php.net to get a copy of this message
Folks... when I execute the following code, I get a big black nothing. I think it's the right size, but all black. No image is showing up. What gives? Header("Content-type: image/tiff"); $filename = image.tif $file = fopen("$filename",rb); fpassthru($file); fclose($file); Any help would be appreciated. Thanks. Joesph

« previous php.general (#124097) next »