strange issue with phplot (php plot in general) generating corrupted image
<p>I'm using the phplot package to generate a simgple png file (have tried Image_Graph with similar issues). 
here is the code, which can output png without problem. However, after I added a line 
require('conf.php') below the require_once('phplot.php'). the conf.php is an empty php file, then the output png becomes corrupted, anyone know why this is happening and any way to go around?</p>

<hr>

<pre><code>&lt;?php
require_once('phplot.php');  

// plot
$plot = new PHPlot(400, 300);  
$plot-&gt;SetImageBorderType('plain'); // Improves presentation in the manual  
$plot-&gt;SetTitle("Historical NAVs");
$plot-&gt;SetDataType('data-data');

$rdata[0] = array('', strtotime('2011-02-15'), 1, 3, 0, 2);
$rdata[1] = array('', strtotime('2011-02-16'), 2, 4, 1, 3);


$plot-&gt;SetDataValues($rdata);
$plot-&gt;SetPlotType('candlesticks2');
$plot-&gt;SetDataColors(array('red', 'DarkGreen', 'red', 'DarkGreen'));
$plot-&gt;SetXLabelAngle(90);
$plot-&gt;SetXLabelType('time', '%Y-%m-%d');
$plot-&gt;SetXTickIncrement(7*86400); // 1 week interval
$plot-&gt;SetYTickIncrement(0.05);

#$d = intval((1 - $gmin)/0.1) + 1;
#$u = intval(($gmax - 1)/0.1) + 1;

#$plot-&gt;SetPlotAreaWorld(NULL, 1 - $d *0.1, NULL, 1 + $u * 0.1);
$plot-&gt;DrawGraph();

?&gt;
</code></pre>

<hr>
