Hi ,
I need your help,
I need to save a image generate through google chart api in my server
to use after in a pdf generate through fpdf, but is not possible to
me.
I use your codes like this:
<?
file_put_contents('graph.png',file_get_contents('http://
chart.apis.google.com/chart?chs=600x300&chd=t:
21,14,5,47,40,3,2&cht=p&.png'));
?>
but when try to see the image, only show the url of the original file.

And when i use this:
<?
header("Content-Type: image/png");
echo file_get_contents("http://chart.apis.google.com/chart?
cht=p3&chd=s:hW&chs=250x100&chl=Hello|World");
?>

show me: Unable to display image "url" because it contains errors


You can help me....
I apreciatte a lot.

Excuse me english

Thanks a lot

-- 
You received this message because you are subscribed to the Google Groups 
"Google Chart API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-chart-api?hl=en.

Reply via email to