Re: Gráficos repetidos en una misma página COMO
| From: | Jesus Castagnetto | Date: | Thu, 24 Aug 2000 18:19:19 +0000 |
| Subject: | Re: Gráficos repetidos en una misma página COMO | ||
| Groups: | php.general.es | ||
| Request: | Send a blank email to general-es+get-1192@lists.php.net to get a copy of this message | ||
En lugar de crear el grafico in-situ, trata de referirte al script en
in IMG tag, por ejemplo:
<HTML>
...
<IMG SRC="plot.php?dato1=2&dato2=3...">
...
</HTML>
Esto evitara el problema con los headers.
A proposito, trata de enviar e-mails que son solo texto, de otro modo
no se leen bien.
--- Jesus M. Castagnetto
Quoting Antonio Macías Vecino <amacias@netjuice-network.com>:
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD>
> <META http-equiv=Content-Type content="text/html; >
charset=iso-8859-1">
> <META content="MSHTML 5.50.4134.600" name=GENERATOR>
> <STYLE></STYLE>
> </HEAD>
> <BODY bgColor=#ffffff>
> <DIV><FONT size=2>Hola,</FONT></DIV>
> <DIV><FONT size=2>Estoy generando funciones con las GD que generan >
gráficos
> estadísticos. Pues bien, necesito que alguno de esos gráficos se >
repitan en una
> misma página pero con disitntos valores, y la verdad es que he
estado > buscando
> como hacerlo y no la he encontrado.</FONT></DIV>
> <DIV><FONT size=2></FONT> </DIV>
> <DIV><FONT size=2>Lo he metido con un require en una página y me >
devuelve el
> siguiente error:</FONT></DIV>
> <DIV>Gráfico 1 <BR><B>Warning</B>: Cannot add more header
information > - the
> header was already sent (header information may be added only before
any > output
> is generated from the script - check for text or whitespace outside
PHP > tags, or
> calls to functions that output text) in <B>antonio.inc</B> on line
> <B>3</B><BR></DIV>
> <DIV><FONT size=2></FONT> </DIV>
> <DIV><FONT size=2>Si alguien conoce el modo adecuado de hacerlo >
agradecería la
> ayuda.</FONT></DIV>
> <DIV><FONT size=2></FONT> </DIV>
> <DIV><FONT size=2>Salu2</FONT></DIV>
> <DIV><FONT size=2>____________________________<BR>Antonio Macías
> Vecino<BR>Netjuice Network - IT<BR><A
>
href="mailto:amacias@netjuice-network.com">amacias@netjuice-network.com>
</A><BR>Avda.
> de la Vega, 24<BR>28109 Alcobendas (Madrid)<BR>Tlf: + 34
91 > 291 17
> 54<BR>Fax: + 34 91 291 17 90<BR><A
>
href="http://www.netjuice-network.com">www.netjuice-network.com</A><BR>>
____________________________<BR>____________________________</FONT></DIV>>
</BODY></HTML>
>
-------------------------------------------------
Created by Zkey.com - http://www.zkey.com
Awarded PCMagazine's Editors' Choice