From be2491b093b1f0ca430bede679ecbb670041e483 Mon Sep 17 00:00:00 2001 From: cassio Date: Tue, 2 Jul 2013 09:46:45 +0400 Subject: restructuring of boca's git --- src/balloon.php | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 src/balloon.php (limited to 'src/balloon.php') diff --git a/src/balloon.php b/src/balloon.php new file mode 100644 index 0000000..ae5e186 --- /dev/null +++ b/src/balloon.php @@ -0,0 +1,37 @@ +. +//////////////////////////////////////////////////////////////////////////////// +// Last modified 05/aug/2012 by cassio@ime.usp.br +ob_start(); +header ("Expires: " . gmdate("D, d M Y H:i:s") . " GMT"); +header ("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); +header ("Cache-Control: no-cache, must-revalidate"); +header ("Pragma: no-cache"); +header('Content-type: image/png'); +ob_end_flush(); + +require_once('fballoon.php'); + +$get_s=false; +if(isset($_GET["s"])) + $get_s=true; +$get_color=null; +if(isset($_GET["color"])) + $get_color=$_GET["color"]; + +balloonpng($_SESSION["locr"],$get_s,$get_color,null); +?> -- cgit v1.2.3