PHP Classes

error.

Recommend this page to a friend!

      EQ Smooth Pie Graph  >  All threads  >  error.  >  (Un) Subscribe thread alerts  
Subject:error.
Summary:include file is wrong
Messages:4
Author:Walter Rodrigo de Sá Cruz
Date:2005-08-12 17:21:53
Update:2011-01-10 06:47:58
 

  1. error.   Reply   Report abuse  
Picture of Walter Rodrigo de Sá Cruz Walter Rodrigo de Sá Cruz - 2005-08-12 17:21:53
The example includes class_eq_pie.php, that is wrong.

BTW, I run the test, the images were created, but I get a erroe from PHP: The image “http://10.132.1.18/pie/EQ_Smooth_3D_Pie_Graph.php” contains errors and can't be displayed.

But if I use the png file directly, it's good.

  2. Re: error.   Reply   Report abuse  
Picture of Dan Dan - 2005-12-07 10:35:28 - In reply to message 1 from Walter Rodrigo de Sá Cruz
I get the same error but only on Firefox.Works ok on IE.

  3. Re: error.   Reply   Report abuse  
Picture of sametcilli sametcilli - 2007-05-03 16:25:07 - In reply to message 2 from Dan
i do this error
i sorry i am bad english
header('Content-type: image/png');
imagepng($finalPie, $filename);
imagedestroy($pie);
imagedestroy($finalPie);
return;


this code
//header('Content-type: image/png');
imagepng($finalPie, $filename);
imagedestroy($pie);
imagedestroy($finalPie);
return;

so this code worked

no header :D

  4. Re: error.   Reply   Report abuse  
Picture of Suleman Ahmad Suleman Ahmad - 2011-01-10 06:47:59 - In reply to message 2 from Dan
Dear Dan,
Same the situation was their no works fine for IE