Ver Mensaje Individual
  #5 (permalink)  
Antiguo 07/02/2006, 22:10
Avatar de el_cesar
el_cesar
 
Fecha de Ingreso: mayo-2001
Ubicación: Cali
Mensajes: 2.423
Antigüedad: 23 años
Puntos: 20
pues bien el script que tengo es:

Código PHP:
<?
   
include_once("../phplot/phplot.php");
   
$data=
      array(
         array(
"label1",2.4,3,
               
3.7,4,5.1),
         array(
"label2",3,4,5,
               
6,7),
         array(
"label3",1.1,2.2,
               
3.3,4.4,5.5),
         array(
"label4",1.7,2,3,
               
1.4,2),
     );
   
$graph = new PHPlot;
   
$graph->SetDataValues($data);
   
$graph->DrawGraph();
?>
el error es:
Cita:

Warning: Cannot modify header information - headers already sent by (output started at f:\archivos de programa\easyphp1-8\www\graficos\graf1.php:9) in f:\archivos de programa\easyphp1-8\www\phplot\phplot.php on line 1090

Warning: Cannot modify header information - headers already sent by (output started at f:\archivos de programa\easyphp1-8\www\graficos\graf1.php:9) in f:\archivos de programa\easyphp1-8\www\phplot\phplot.php on line 1091

Warning: Cannot modify header information - headers already sent by (output started at f:\archivos de programa\easyphp1-8\www\graficos\graf1.php:9) in f:\archivos de programa\easyphp1-8\www\phplot\phplot.php on line 1092

Warning: Cannot modify header information - headers already sent by (output started at f:\archivos de programa\easyphp1-8\www\graficos\graf1.php:9) in f:\archivos de programa\easyphp1-8\www\phplot\phplot.php on line 1093

Warning: Cannot modify header information - headers already sent by (output started at f:\archivos de programa\easyphp1-8\www\graficos\graf1.php:9) in f:\archivos de programa\easyphp1-8\www\phplot\phplot.php on line 1099
‰PNG  IHDRXEëîª9PLTEÂÂÂ’’’ÿÿÿ¾¾¾‡ÎëWž»ÿÏÿ¥ÏuÿÏÿÏî‚î ¾R¾ðÿÿÀÏϺ¬„²IDATxœíÛr«:Dw…ãJQüÿÿžÄØ„‘Ô­™½ H| ´<’eþ} AàŸuDŸH,AAb KPX‚‚Ä$– ±‰%(¤ÅÖBtÂK‰%€H,AAb KPX‚‚Ä$– ±‰%(H,AAb KPX‚‚Ä$– ±‰%(H,AAb KPX‚‚Ä$– ±‰%(H,AAb KPX‚‚Ä$– ð&ÖðÃóùaï...
y las lineas de phplot donde se dice esta el problema son:

de la 1089 a la 1094

Código PHP:
 if ( (! $this->browser_cache) && (! $this->is_inline)) {
            
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
            
header('Last-Modified: ' gmdate('D, d M Y H:i:s') . 'GMT');
            
header('Cache-Control: no-cache, must-revalidate');
            
header('Pragma: no-cache');
        } 
y de la 1096 a la 1100

Código PHP:
       switch($this->file_format) {
        case 
'png':
            if (! 
$this->is_inline) {
                
Header('Content-type: image/png');
            } 
por cierto Cluster podrias explicarmme bien como usar entonces lo del <img src="..."> es decir, este lo ubico en un documento html normal o como hago?
__________________
Say no more.......