?
Solved

using jpgraphs in php

Posted on 2003-12-03
4
Medium Priority
?
452 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 

Author Comment

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

Accepted Solution

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

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to count occurrences of each item in an array.
Suggested Courses

770 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