[GD] jpgraph - Keine Anzeige.....

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

  • #31
    je ne is klar, aber ich hab doch gar keinen header.

    Kommentar


    • #32
      Sicher?

      Laut den Fehlermeldungen

      Warning: Cannot add header information - headers already sent by (output started at c:\phpdev\www\linegraph1.php:6) in c:\phpdev\www\src\jpgraph.php on line 6414

      Warning: Cannot add header information - headers already sent by (output started at c:\phpdev\www\linegraph1.php:6) in c:\phpdev\www\src\jpgraph.php on line 6415

      Warning: Cannot add header information - headers already sent by (output started at c:\phpdev\www\linegraph1.php:6) in c:\phpdev\www\src\jpgraph.php on line 6416

      Warning: Cannot add header information - headers already sent by (output started at c:\phpdev\www\linegraph1.php:6) in c:\phpdev\www\src\jpgraph.php on line 6417

      Warning: Cannot add header information - headers already sent by (output started at c:\phpdev\www\linegraph1.php:6) in c:\phpdev\www\src\jpgraph.php on line 6419

      schon.

      Kommentar


      • #33
        der http-header ist != <header>

        zeig mal konkret jeweils die ersten 10 zeilen der includeten dateien.

        meines wissens nach, baut jp-grapf nämlich ein bild. und du kannst den bildinhalt ja nicht einfach in den html-text schreiben, oder?

        Kommentar


        • #34
          ach so meinst du das. ja das ergibt natürlich sinn.

          ich dachte, er würde sich dabei auf meinen eigenen text beziehen. an die includeten dateinen hab ich ja gar nicht gedacht. *an den kopf fass* *hm - is noch da*

          tja, in jpgraph.php
          ist allerdings auch kein header:


          PHP-Code:
          <?php
          //=======================================================================
          // File:        JPGRAPH.PHP
          // Description:        PHP4 Graph Plotting library. Base module.
          // Created:         2001-01-08
          // Author:        Johan Persson (johanp@aditus.nu)
          // Ver:                $Id: jpgraph.php,v 1.242.2.1 2003/05/30 20:41:05 aditus Exp $
          //
          // License:        This code is released under QPL 1.0
          // Copyright (C) 2001,2002,2003 Johan Persson
          //========================================================================

          //------------------------------------------------------------------------
          // Directories for cache and font directory.
          // Leave them undefined to use default values.
          PHP-Code:
          <?php
          /*=======================================================================
          // File:         JPGRAPH_LINE.PHP
          // Description:        Line plot extension for JpGraph
          // Created:         2001-01-08
          // Author:        Johan Persson (johanp@aditus.nu)
          // Ver:                $Id: jpgraph_line.php,v 1.48 2003/05/28 18:39:45 aditus Exp $
          //
          // License:        This code is released under QPL
          // Copyright (C) 2001,2002 Johan Persson
          //========================================================================
          */

          // constants for the (filled) area
          DEFINE("LP_AREA_FILLED"true);
          DEFINE("LP_AREA_NOT_FILLED"false);
          DEFINE("LP_AREA_BORDER",false);
          DEFINE("LP_AREA_NO_BORDER",true);

          hier der quelltext der dateien.
          naja, ist ja erstmal auch egal. ich werd mich über s WE noch ein bisschen informieren. für heut ist erstmal schluß.
          danke nochmal für deine bisherige hilfe

          schönes Wochenende
          Ray

          Kommentar


          • #35
            die kommentare hättest du dir sparen können. ein bisschen mehr code wäre net schlecht.

            Kommentar


            • #36
              danke danke
              hat sich alles aufgeklärt.
              ihr hattet mir schon die richtigen hinweise gegeben, ich habs nur nicht verstanden.
              reinen php-code. kein html! thats the key.
              danke

              Kommentar

              Lädt...
              X