Question about PHP incudes
- From: "art@xxxxxxxx" <amerar@xxxxxxx>
- Date: Tue, 20 May 2008 10:12:46 -0700 (PDT)
Hi,
Ok, this might seem like a stupid question, but I'm trying to create a
line chart in PHP. There are a lot of examples on how to do this. The
issue is, all of these seem to use some modules: imagecolorallocate,
imageline, etc......
Are these part of PHP? Are they part of GD? I installed GD 1.19.
There were a couple of warnings in the first step:
GD.xs: In function `XS_GD__Image__newFromGif':
GD.xs:227: warning: passing arg 1 of `gdImageCreateFromGif' from
incompatible pointer type
GD.xs: In function `XS_GD__Image__newFromXbm':
GD.xs:237: warning: passing arg 1 of `gdImageCreateFromXbm' from
incompatible pointer type
GD.xs: In function `XS_GD__Image__newFromGd':
GD.xs:247: warning: passing arg 1 of `gdImageCreateFromGd' from
incompatible pointer type
Running Mkbootstrap for GD ()
chmod 644 GD.bs
rm -f blib/arch/auto/GD/GD.so
gcc -shared -L/usr/local/lib GD.o -o blib/arch/auto/GD/GD.so libgd/
libgd.a \
-lm \
chmod 755 blib/arch/auto/GD/GD.so
cp GD.bs blib/arch/auto/GD/GD.bs
chmod 644 blib/arch/auto/GD/GD.bs
Manifying blib/man3/GD.3pm
But it seemed to install properly:
Installing /usr/share/man/man3/GD.3pm
Writing /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/
GD/.packlist
Appending installation info to /usr/lib/perl5/5.8.5/i386-linux-thread-
multi/perllocal.pod
I took an example from the web, and, all I get on the page is the
URLwhich I am entering.......
My error log says this:
PHP Fatal error: Call to undefined function: imagecreate() in /
apache/graph.php on line 9
Where do I get these functions? I'm kind of lost here......
Thank you!
.
- Follow-Ups:
- Re: Question about PHP incudes
- From: petersprc
- Re: Question about PHP incudes
- Prev by Date: Re: RES: [PHP] Help Call Javascript Methods Inside PHP
- Next by Date: Re: RES: [PHP] 0T - Request for quick test
- Previous by thread: reretrieve header from email
- Next by thread: Re: Question about PHP incudes
- Index(es):
Relevant Pages
|