images problem

From: Date: Thu, 01 Mar 2001 11:27:23 +0000
Subject: images problem
Groups: php.general 
Request: Send a blank email to php-general+get-42152@lists.php.net to get a copy of this message
i uses the following method to display an image draw from database.. //////////////////////////////////////////////////////////////// set_magic_quotes_runtime(0); $query = "select diagram from $QuestTab where qns_id = '$QnsID'"; $result = @MYSQL_QUERY($query); $data = @MYSQL_RESULT($result,0, "diagram"); Header("Content-type: image/png"); print $data; set_magic_quotes_runtime(get_magic_quotes_gpc()); ///////////////////////////////////////////////// i have problem getting the images size.... dose anyone know? i had tried almost all ways i know of.. to using images functions from the GD lib.. john

« previous php.general (#42152) next »