Solved

using jpgraphs in php

Posted on 2003-12-03
4
448 Views
Last Modified: 2007-12-19
im begginer in php and i want to use jpgraph , i have done necessary changes in ini file ( uncommenting dll and all that) but still im getting error "Call to undefined function:  imagecreate() " where the code contains just --
"header ("Content-type: image/png");
$im = imagecreate (300, 300);
$white = imagecolorallocate ($im,255,255,255);
$blue = imagecolorallocate ($im,0,0,255);
imagestring ($im, 5, 0, 0, "first graph", $blue);"
can anybody help me out of this?? thanks in advance
0
Comment
Question by:snehal2310
4 Comments
 

Author Comment

by:snehal2310
ID: 9872336
what else i'll have to do??
0
 
LVL 2

Accepted Solution

by:
nsanden earned 50 total points
ID: 9873011
It looks like your PHP doesn't have GD compiled with it. See www.php.net/gd
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
This article discusses four methods for overlaying images in a container on a web page
The viewer will learn how to count occurrences of each item in an array.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now