Bug #17454 Updated: graph problem

From: Date: Mon, 27 May 2002 14:24:04 +0000
Subject: Bug #17454 Updated: graph problem
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-8664@lists.php.net to get a copy of this message
ID: 17454 Updated by: derick@php.net Reported By: endeeuk@yahoo.com -Status: Open +Status: Bogus Bug Type: *Graphics related Operating System: Linux PHP Version: 4.0CVS-2002-05-27 New Comment: Thank you for taking the time to report a problem with PHP. Unfortunately your version of PHP is too old -- the problem might already be fixed. Please download a new PHP version from http://www.php.net/downloads.php If you are able to reproduce the bug with one of the latest versions of PHP, please change the PHP version on this bug report to the version you tested and change the status back to "Open". Again, thank you for your continued support of PHP. Previous Comments: ------------------------------------------------------------------------ [2002-05-27 10:23:18] endeeuk@yahoo.com Hi , All this is my first script: test.php3 <?php require "color.php3"; require "graph.php3"; require "Barchart.php3"; $white = new Color(255,255,255); $blue = new Color(0,0,255); $red = new Color(255,0,0); $green = new Color(0,255,0); $bar = new Barchart(500,500,$white); $ar1 = array(12,13,16,2,5,10,0,1,2,8); $ar2 = array(20,13,-1,2,23,11,1,3,4,9); $ar3 = array(11,15,20,12,6,-10,28,30,10,0); $bar->add_Array($ar1, $white); $bar->add_Array($ar2, $green); $bar->add_Array($ar3, $red); $bar->printHTML(); ?> When I callinn test.php3 In that case it showed me a graph. That second one is used this script : main.php3 ? .... <img src='test.php3'> . In that case my browser was brozen. What should I do ? Please help me : php version is 3.0.11 Gd is 1.3 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17454&edit=1

« previous php.bugs (#8664) next »