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?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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?
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.