PHP Developers Network
http://forums.devnetwork.net/

GD-lib
http://forums.devnetwork.net/viewtopic.php?f=32&t=24153
Page 1 of 1

Author:  Yonderknight [ Wed Jul 21, 2004 3:18 pm ]
Post subject:  GD-lib


Author:  feyd [ Wed Jul 21, 2004 3:19 pm ]
Post subject: 

did you try looking on php.net? http://www.php.net/gd

Author:  Yonderknight [ Wed Jul 21, 2004 3:22 pm ]
Post subject: 

I got to the GD website, but I'm not very good at this.
I already have PHP installed, so what should I download?
Thanks

Author:  feyd [ Wed Jul 21, 2004 3:24 pm ]
Post subject: 

you may already have it installed, just need to turn it on.. look through your php.ini and you install's extensions folder.. enable it in php.ini and make sure it's in the extensions folder.. restart apache..

Author:  Yonderknight [ Wed Jul 21, 2004 3:29 pm ]
Post subject: 

hmm. When i look through the PHP.ini for GD, I only find ";extension=php_gd2.dll"
I had PHP installed by an executable that bundled Apache, PHP, MySQL, and PHPmyAdmin, and it has no information if it installed Gd-lib with it.

Author:  feyd [ Wed Jul 21, 2004 3:32 pm ]
Post subject: 

remove the ; in front of it.. and try restarting apache..

Author:  Yonderknight [ Wed Jul 21, 2004 3:37 pm ]
Post subject: 


Author:  feyd [ Wed Jul 21, 2004 3:45 pm ]
Post subject: 

first things first, FLASH.png exists? "../fonts/ARIALBD.TTF" exists?

try moving ARIALBD.TTF to the scripts directory, lose the FLASH.png reference, and use [php_man]imagecreatetruecolor[/php_man]() to create a temporary one..

Author:  Yonderknight [ Wed Jul 21, 2004 3:47 pm ]
Post subject: 

Yeah, it was because i needed the font in my root folder.
Thanks a lot! You saved me a lot of time trying to figure out these install guides!

Thanks!

Author:  Yonderknight [ Wed Jul 21, 2004 4:19 pm ]
Post subject: 

Whenever I use ImageCreate() it produces garbled text. I got an example from the PHP site and it didn't work. If its an old version of GD, if i need to update it, do I only have to change the Gd2.dll?
Thanks

Author:  feyd [ Wed Jul 21, 2004 4:52 pm ]
Post subject: 

you have a newer version of GD, so you'll want to use imagecreatetruecolor() instead of imagecreate

Author:  Yonderknight [ Wed Jul 21, 2004 8:30 pm ]
Post subject: 


Author:  feyd [ Wed Jul 21, 2004 8:48 pm ]
Post subject: 


Author:  Yonderknight [ Wed Jul 21, 2004 10:50 pm ]
Post subject: 

Oh. I got it

It was a dumb mistake. I had some HTML after the code so it screwed things up.
Thanks for all the time you spend helping people like me! I wish I could repay you....
If you ever need any graphic work... :D

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/