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 <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]