note 62134 deleted from ref.image by nlopess

From: Date: Tue, 21 Feb 2006 18:49:36 +0000
Subject: note 62134 deleted from ref.image by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-104148@lists.php.net to get a copy of this message
Note Submitter: stan at watchmouse dot com ---- If your PHP script is used in a <IMG SRC="..."> tag, you may want to use the following snippet in cases where you do not want to show an image at all (e.g. when no image found, or an error condition occurred): <? // no image found, output a 1 pixel transparent GIF header('Content-type: image/gif'); $shim = '47494638396101000100800000ffffff00000021f9040114' .'0000002c00000000010001000002024401003b'; print pack('H*', $shim); ?> It saves you loading external image files, generating complex error images, etc. - Stan WatchMouse Site Monitoring http://www.watchmouse.com/

« previous php.notes (#104148) next »