Fopen image and print as binary/Image

From: Date: Tue, 27 Feb 2001 19:38:11 +0000
Subject: Fopen image and print as binary/Image
Groups: php.general 
Request: Send a blank email to php-general+get-41867@lists.php.net to get a copy of this message
Hello, this: <? header( "Content-type: image/gif" ); $img = fopen($DOCUMENT_ROOT . "/store/include/TestingImage.gif","rb"); print($img); ?> prints this: Resource id #1 I'm trying to print the image as binary or as an image. Have I missed a step? Hope i'm not being too confusing. Thanks!

« previous php.general (#41867) next »