Current location: Hot Scripts Forums » Programming Languages » PHP » Php Gd


Php Gd

Reply
  #1 (permalink)  
Old 08-19-04, 06:40 PM
proteome proteome is offline
New Member
 
Join Date: Aug 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Php Gd

I am trying to use PHP GD to draw graph, but I could not make the script work.
Under the server, PHP 4.3.6 was installed and the GD2.0.22 was enable.

I don't know how to check if the GD library was installed. The tutorial said the php.ini need to be modified to configure GD.

Honestly, I have no idea what they are talking about on the website here:http://www.phpfreaks.com/tutorials/105/0.php

Could anyone tell me what should I do? shold I put some library of GD under my own folder with php script?
Or I need to ask my boss to change some setup of php?

Thanks a lot~!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 08-20-04, 02:10 AM
Bonzo's Avatar
Bonzo Bonzo is offline
Coding Addict
 
Join Date: Jan 2004
Posts: 340
Thanks: 0
Thanked 0 Times in 0 Posts
Make a page with the line below in it; put it on the server and run it. Check through the results & you will see whats installed.

Snipe also has a tutorial - write text to an image; I know this works so give this a go and see if it works on your server. http://snipe.net/geek/toolz/

Anthony

PHP Code:

<?phpinfo()?>


Last edited by Bonzo; 08-20-04 at 02:13 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 08-20-04, 01:48 PM
proteome proteome is offline
New Member
 
Join Date: Aug 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks~~
I ran the phpinfo() before. GD 2.0.22 is enabled.
But when i put the script in my folder under the server, something wrong and the script did not work.
I will keep looking it.
Thanks again~
Lili
Quote:
Originally Posted by Bonzo
Make a page with the line below in it; put it on the server and run it. Check through the results & you will see whats installed.

Snipe also has a tutorial - write text to an image; I know this works so give this a go and see if it works on your server. http://snipe.net/geek/toolz/

Anthony

PHP Code:

<?phpinfo()?>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #4 (permalink)  
Old 08-20-04, 06:13 PM
proteome proteome is offline
New Member
 
Join Date: Aug 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Here is the infomation of the PHP under the server. Do anyone know if the GD library need to be installed or not? Thanks
gd
GD Support enabled
GD Version bundled (2.0.22 compatible)
FreeType Support enabled
FreeType Linkage with freetype
T1Lib Support enabled
GIF Read Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled


Quote:
Originally Posted by proteome
Thanks~~
I ran the phpinfo() before. GD 2.0.22 is enabled.
But when i put the script in my folder under the server, something wrong and the script did not work.
I will keep looking it.
Thanks again~
Lili
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP and MySQL ? rob2132 Hot Scripts Forum Questions, Suggestions and Feedback 4 08-29-08 03:22 AM
Random PHP include brduran PHP 4 08-16-04 07:34 AM
php with Apache in windows eDevil PHP 3 08-08-04 01:03 AM
php GD libary mavoric PHP 3 06-10-04 05:05 PM
100 Web Templates & 10 PHP Scripts for sale! HostersUK.co.uk General Advertisements 0 01-10-04 01:31 AM


All times are GMT -5. The time now is 05:22 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.