Menu

includes or requires break image?

atn
2021-06-04
2021-06-04
  • atn

    atn - 2021-06-04

    every other php file on my site uses:

    include dbc.php;

    WHY does this break phplot? i have to get the actual sql connection line out of this file and put it in my graph.php manually, or i get the "image contains errors" every time.

    what am i doing wrong here?

     
  • Afan Ottenheimer

    If you get the "image contains errors" error on your browser, it usually means there is text in what's returned in addition to the binary data that defines the image. So perhaps your dbc.php has some HTML header information that it is returning or the like. To tell - look at the raw data being returned for the image and see.

    Also - I've moved development to git via github ( https://github.com/AJRepo/PHPlot/ ) from Sourceforge.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.