PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
spyrule
Worker
Worker


Joined: Jun 06, 2006
Posts: 105

PostPosted: Wed Aug 30, 2006 4:27 pm Reply with quote Back to top

Hello,

I have a question, is it possible to have a change in TEXT colors for the captcha box ? Have been able to change the background easily enough, but I would like the color of the text to be different..

is this possible ?


Also, how would it be possible so that all emails that are displayed anywhere, are displayed using a captcha type system?

This would effectivly make spam spiders blind of the actual email addresses.

Thanks in advance,

Spyrule.
View user's profile Send private message Visit poster's website
persona_non_grata



Joined:
Posts: 0

PostPosted: Wed Aug 30, 2006 4:35 pm Reply with quote Back to top

well i dont know whitch one your using but it must be in the file...,probably close to the background edits.
View user's profile Send private message
spyrule
Worker
Worker


Joined: Jun 06, 2006
Posts: 105

PostPosted: Wed Aug 30, 2006 10:01 pm Reply with quote Back to top

ok, maybe I'm not getting this... but isn't the actual text generated by GD which combines the jpg file along with the number itself ?

How do I force it to change the color of the text.

I am COMPLETELY new to editing captcha code.

Thanks again in advance,

spyrule
View user's profile Send private message Visit poster's website
persona_non_grata



Joined:
Posts: 0

PostPosted: Thu Aug 31, 2006 4:48 am Reply with quote Back to top

i dont know,im just assuming it has the same posibilities to edit it as the one i was playing with some time ago..
if you look at the code try finding anything related to color code ot font size or type..
View user's profile Send private message
evaders99
Moderator


Joined: Apr 30, 2004
Posts: 2796

PostPosted: Thu Aug 31, 2006 11:00 am Reply with quote Back to top

You should have a line such as
Code:

$text_color = ImageColorAllocate($image, 80, 80, 80);

I believe that's RGB color format
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum