GD Library Query

Status
Not open for further replies.

takuhii

New Member
Messages
344
Reaction score
0
Points
0
Can anyone help me add the GD Library class (PHP) to my website? Is this a server thing, or can I just add this functionality to my webpage specifically. I have a GD_image_verify.php file for a script I am running called CAPTCHA. It generates those images you see on forums with jumbled words and letters, to prevent spam and robots from abusing your site.

Any help would be greatly appreciated, my site is http://takuhii.x10hosting.com/
 

YamiKaitou

Member
Messages
636
Reaction score
0
Points
16
The GD Library should be installed on the servers already. Just use the functions in a php file and see if they work
 

takuhii

New Member
Messages
344
Reaction score
0
Points
0
That's the problem, the GD functions don't work, So I was trying to figure out if GDLib was installed. It is, but I think it may be a more advanced version than what my script is looking for :(
 

YamiKaitou

Member
Messages
636
Reaction score
0
Points
16
Put this in a file an view it. See if the version is the version you need

PHP:
<?php
var_dump(gd_info());
?>

Or, say what function you are trying to use that PHP is not recognizing

EDIT: I would do it myself, but I am on a different server than you

EDIT2: Just looked at your site, and found that you are showing this captcha image. It seems to be generating this error
It lokks as though the SQL Server has fallen over. Please try again later.
 
Last edited:

takuhii

New Member
Messages
344
Reaction score
0
Points
0
I've attached the PHP file for someone to take a look at (I've renamed it to TXT so i can upload it), i can't see anything that utilises the GD Library, there are a lot of things that check version numbers though. I'll try that var_dump thing out though...

BTW this isn't my script it's a plugin for Wordpress...

Cheers for all the help so far... I also can't find anything to do with SQL... I've disabled the plugin for now...
 

Attachments

  • captcha.txt
    52.3 KB · Views: 119
Last edited:

lieke

New Member
Messages
6
Reaction score
0
Points
0
I've attached the PHP file for someone to take a look at (I've renamed it to TXT so i can upload it), i can't see anything that utilises the GD Library, there are a lot of things that check version numbers though. I'll try that var_dump thing out though...

BTW this isn't my script it's a plugin for Wordpress...

Cheers for all the help so far... I also can't find anything to do with SQL... I've disabled the plugin for now...
I used Captcha for comment at my wordpress. It work.
 

takuhii

New Member
Messages
344
Reaction score
0
Points
0
Whenever I run the Captcha script, it fails to display an image, I just get a placeholder. If I then link directly to that image it tell me SQL may be down. So I'm not sure what I am doing wrong??!!
 
Status
Not open for further replies.
Top