Current location: Hot Scripts Forums » Programming Languages » PHP » GD Help Please


GD Help Please

Reply
  #1 (permalink)  
Old 12-07-04, 12:13 PM
CrAzY_CuStoMs CrAzY_CuStoMs is offline
Newbie Coder
 
Join Date: Oct 2004
Location: Ontario, Canada
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
GD Help Please

Hey, im trying to get the GD library to work for php. I have tried and tried but still no success. I am using PHPDev5 if that is of any use.
If you have any other suggestions for a program that will help me and already has php, mysql ready, then im open to hear it.

Thanks Alot
~Lance
__________________
CuStoM PHP scripts for cheep =D Contact me anyways you need for all your php needs
AIM- Tallgeesegw3
ICQ- 206498877
MSN- silver_suicide_rider@hotmail.com
YIM- comming soon
IRC- server- irc.chat-solutions.org
channel- Crazy_customs
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 12-08-04, 03:55 PM
bizzar528's Avatar
bizzar528 bizzar528 is offline
Community Liaison
 
Join Date: Sep 2004
Location: Pennsylvania, US
Posts: 1,551
Thanks: 2
Thanked 16 Times in 15 Posts
Have to compile it from source. What config options are you using when compiling it?

If you want a complete solution for php and mysql, if you using windows, you can try the PHPTriad stuff, but there are other server solutions out there.
__________________
Yep, it's a signature...
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 12-09-04, 04:14 PM
CrAzY_CuStoMs CrAzY_CuStoMs is offline
Newbie Coder
 
Join Date: Oct 2004
Location: Ontario, Canada
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
i got it working which is good... but now im having trouble using TTF fonts. i keep getting the error

Warning can not open/ find font on line 20

Lines 19, and 20 are:
$text = "fonts/verdana.ttf";
ImageTTFText($TheImage, 14, 0, 5, 20, $ColorText, "Verdana", "Some sample text");
__________________
CuStoM PHP scripts for cheep =D Contact me anyways you need for all your php needs
AIM- Tallgeesegw3
ICQ- 206498877
MSN- silver_suicide_rider@hotmail.com
YIM- comming soon
IRC- server- irc.chat-solutions.org
channel- Crazy_customs
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 12-09-04, 05:30 PM
paysite-cash paysite-cash is offline
New Member
 
Join Date: Dec 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
show us what does gdinfo() returns...maybe you didn't compiled php with truetype...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #5 (permalink)  
Old 12-09-04, 06:17 PM
CrAzY_CuStoMs CrAzY_CuStoMs is offline
Newbie Coder
 
Join Date: Oct 2004
Location: Ontario, Canada
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
haha stupid gdinfo dont work... undefined function 8-) both ways
gd_info();
and gdinfo();

wtf is my comp doing to me *rips out hair*
__________________
CuStoM PHP scripts for cheep =D Contact me anyways you need for all your php needs
AIM- Tallgeesegw3
ICQ- 206498877
MSN- silver_suicide_rider@hotmail.com
YIM- comming soon
IRC- server- irc.chat-solutions.org
channel- Crazy_customs
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #6 (permalink)  
Old 12-10-04, 03:06 AM
Acecool's Avatar
Acecool Acecool is offline
Aspiring Coder
 
Join Date: Nov 2003
Posts: 506
Thanks: 0
Thanked 0 Times in 0 Posts
net stop apache
net start apache (Do you get any errors, gdlib.dll or something not found?)
Try editing your php.ini C:\Windows (Normally)

Find:
;extension=php_gd2.dll

Change to:
extension=php_gd2.dll

net stop apache
net start apache
__________________
Check Acecoolco.com for PHP Tutorials, and other tuts
If you plan on contacting me, please read this: Legal Terms & Conditions
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
3 letter set and more planecrazy69 General Advertisements 0 10-28-04 11:33 AM
gd image library bug? <?Wille?> PHP 6 10-03-04 02:37 AM
Php Gd proteome PHP 3 08-20-04 06:13 PM
php GD libary mavoric PHP 3 06-10-04 05:05 PM
gd font size limit? jasong PHP 2 06-06-04 03:58 PM


All times are GMT -5. The time now is 12:02 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.