- Upgraded to the latest version of Open Flash Charts (Version 2 Lug Wyrm Charmer)

- Localization of the menus 90% done.
- Removed the old types of Flash charts, (no longer used anyway, now we rely on open-flash-charts)

SVN:trunk[441]
This commit is contained in:
Denis Flaven
2010-06-08 13:12:17 +00:00
parent 4d3fbf1f79
commit fd8b3c835e
28 changed files with 1944 additions and 1142 deletions

View File

@@ -26,9 +26,18 @@ if (!file_exists($default_path)) mkdir($default_path, 0777, true);
$destination = $default_path . basename( $_GET[ 'name' ] );
echo 'Saving your image to: '. $destination;
// print_r( $_POST );
// print_r( $_SERVER );
// echo $HTTP_RAW_POST_DATA;
//
// POST data is usually string data, but we are passing a RAW .png
// so PHP is a bit confused and $_POST is empty. But it has saved
// the raw bits into $HTTP_RAW_POST_DATA
//
$jfh = fopen($destination, 'w') or die("can't open file");
fwrite($jfh, $GLOBALS['HTTP_RAW_POST_DATA']);
fwrite($jfh, $HTTP_RAW_POST_DATA);
fclose($jfh);
//