hi all,
i have this problem i just can't put my finger on
it...
i have a function that creates a graph then saves it
to a file. although the file is created correctly, if
i try to access the file, as in the example below, i
get a "the image cannot be displayed, because it
contains errors."
i'm guessing it has something to do with buffered
output, but i'm not sure. any ideas?
-----------------------------------
<?php
$filename = 'images/' . date("Y_m_d") . ".png";
create_chart($size_x, $size_y, $units, $max_value,
$values, $title1, $title2, $filename);
?>
<img src='<?php echo "$filename"?>' />
---------------------------------
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
Jordan PHP Users Group
http://php.jolug.org/
Php mailing list
[email protected]
http://mail.jolug.org/mailman/listinfo/php_jolug.org