Anyone having problems with Google charts in XAMPP?

MiaBergdorfz

New Member
I use the example for POST, found here.On a windows 7 machine it doesn't show the chart, just the image's ALT text (which I added to the example). When I upload the two files to my website it works just fine.Has anyone else tried this with XAMPP? Would someone? If it works for you on localhost can you please paste the entire code of your text page & I will award the answer. Thanks. Btw: here's my test page. The other file \[code\]chartserver-image.php\[/code\] is as per Google's page\[code\]<?php echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\"\"http://www.w3.org/TR/html4/strict.dtd\">"; echo "<html>"; echo "<head>"; echo "<title>Where's my Google Chart, then?</title>"; echo "<meta http-equiv=\"Content-type\" content=\"text/html;charset=UTF-8\">"; echo "<meta HTTP-EQUIV=\"Pragma\" CONTENT=\"no-cache\">"; echo "<meta HTTP-EQUIV=\"Expires\" CONTENT=\"-1\">"; echo "<style type=\"text/css\">"; echo " body { font: 12px Arial; }"; echo "</style>"; echo "</head>"; echo "<body>"; echo "<div>"; echo "<img width='600' height='200' src='http://stackoverflow.com/questions/3682622/chartserver-image.php' alt='alt text'>"; echo "</div>"; echo "</body>"; echo "</html>";?>\[/code\]
 
Top