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)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Author Message
Defcon
Regular
Regular


Joined: Mar 10, 2005
Posts: 90

PostPosted: Sun Apr 29, 2007 6:14 am Reply with quote Back to top

Hye all! I got some question here about security code login. How to change alphabet to number in security code image on login block?

thanxs

Image
View user's profile Send private message Visit poster's website
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6373
Location: Vsetin, Czech Republic

PostPosted: Mon Apr 30, 2007 2:54 am Reply with quote Back to top

Open includes/class.php-captcha.php
Around line 59 you will see
Code:
 define('CAPTCHA_CHAR_SET', ''); // defaults to A-Z

Change that to
Code:
 define('CAPTCHA_CHAR_SET', '1,2,3,4,5,6,7,8,9,0'); // defaults to A-Z

I would not recommend using double digits as this may force some number off the page and the user wouldnt be able to see them. Also, when using numerical captcha you are limited to 1 in 10 characters per digit as against using alphabetical characters where there is a 1 in 26 possibility per character - in simple terms, the alpha sequence offers more permuations ans is therefore more secure than using numerics.
View user's profile Send private message Send e-mail Visit poster's website
Defcon
Regular
Regular


Joined: Mar 10, 2005
Posts: 90

PostPosted: Mon Apr 30, 2007 3:42 am Reply with quote Back to top

Guardian2003 wrote:
Open includes/class.php-captcha.php
Around line 59 you will see
Code:
 define('CAPTCHA_CHAR_SET', ''); // defaults to A-Z

Change that to
Code:
 define('CAPTCHA_CHAR_SET', '1,2,3,4,5,6,7,8,9,0'); // defaults to A-Z

I would not recommend using double digits as this may force some number off the page and the user wouldnt be able to see them. Also, when using numerical captcha you are limited to 1 in 10 characters per digit as against using alphabetical characters where there is a 1 in 26 possibility per character - in simple terms, the alpha sequence offers more permuations ans is therefore more secure than using numerics.


Ahaaa... thanxs Guardian2003 hhuhuhuhu
View user's profile Send private message Visit poster's website
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6373
Location: Vsetin, Czech Republic

PostPosted: Mon Apr 30, 2007 8:07 am Reply with quote Back to top

No problem, happy to help.
View user's profile Send private message Send e-mail Visit poster's website
jlajax
Worker
Worker


Joined: Oct 12, 2006
Posts: 180
Location: Jacksonville, Florida

PostPosted: Wed Dec 17, 2008 6:06 pm Reply with quote Back to top

Guardian2003 wrote:
Open includes/class.php-captcha.php
Around line 59 you will see
Code:
 define('CAPTCHA_CHAR_SET', ''); // defaults to A-Z

Change that to
Code:
 define('CAPTCHA_CHAR_SET', '1,2,3,4,5,6,7,8,9,0'); // defaults to A-Z


Quote:
CAPTCHA_CHAR_SET', '1,2,3,4,5,6,7,8,9,0,A,B,C,D,E,F,G,H,I.J.K.L.M.N.O.P.Q.R.S.T.U.V.W.X.Y.Z'); // defaults to A-Z


Before I try this Will it work? The goal being to display a combination of letters and numbers in the security code. Seems to me this increases options increasing security.

Thanks guys

RavensScripts
View user's profile Send private message Visit poster's website Yahoo Messenger
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6373
Location: Vsetin, Czech Republic

PostPosted: Thu Dec 18, 2008 1:43 am Reply with quote Back to top

Yes if you seperate them with a 'comma' not a 'stop' but I would leave out the zero and letter 'o' to avoid confusion.
View user's profile Send private message Send e-mail Visit poster's website
jlajax
Worker
Worker


Joined: Oct 12, 2006
Posts: 180
Location: Jacksonville, Florida

PostPosted: Thu Dec 18, 2008 2:39 am Reply with quote Back to top

Many Thanks!

RavensScripts
View user's profile Send private message Visit poster's website Yahoo Messenger
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.

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-2011 by Raven

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 Modified by the RavenNuke™ Team ::

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

zerosum