note 59840 deleted from function.imagefill by mazzanet

From: Date: Sun, 18 Dec 2005 06:51:50 +0000
Subject: note 59840 deleted from function.imagefill by mazzanet
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-100351@lists.php.net to get a copy of this message
Note Submitter: trev at beammeupnowplease dot com ---- Slight correction to the example posted below by gelak mainly for newer PHP users. Ignore the two lines related to sessions (as below) as those aren't related to this image: - session_start(); - if ($_SESSION ['user']=="cica") { ...and everything from the else{} downwards. Then add in the following line at the top of the script... header("Content-type: image/png"); ...which tells the browser to treat it as a PNG image, and you should get the smiling face. Trev

« previous php.notes (#100351) next »