Solved

using jpgraphs in php

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

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

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

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this. Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it i…
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 and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

688 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