Solved

using jpgraphs in php

Posted on 2003-12-03
4
447 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
Comment Utility
what else i'll have to do??
0
 
LVL 2

Accepted Solution

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

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

Both Easy and Powerful How easy is PHP? http://lmgtfy.com?q=how+easy+is+php (http://lmgtfy.com?q=how+easy+is+php)  Very easy.  It has been described as "a programming language even my grandmother can use." How powerful is PHP?  http://en.wikiped…
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…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

772 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

10 Experts available now in Live!

Get 1:1 Help Now