Solved

using jpgraphs in php

Posted on 2003-12-03
4
450 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Generating table dynamically is the most common issue faced by php developers.... So it seems there is a need of an article that explains the basic concept of generating tables dynamically. It just requires a basic knowledge of html and little maths…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
The viewer will learn how to dynamically set the form action using jQuery.
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.

726 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