Re: images problem

From: Date: Sat, 10 Mar 2001 01:27:19 +0000
Subject: Re: images problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-43263@lists.php.net to get a copy of this message
Maybe strlen($data); -- Visit the Zend Store at http://www.zend.com/store/ Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm ----- Original Message ----- From: John LYC <john@edlabs.com> Newsgroups: php.general Sent: Thursday, March 01, 2001 5:19 AM Subject: [PHP] images problem > 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 > > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#43263) next »