Lost Password?


  #31 (permalink)  
Old 08-18-2008, 07:02 AM
Xav's Avatar   
Xav Xav is offline
Code Warrior
 
Join Date: Mar 2008
Location: On God's Planet
Posts: 9,897
Last Blog:
Web slideshow in JavaS...
Rep Power: 78
Xav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud of
Send a message via MSN to Xav
Default Re: Creation of captcha / Part II /Secure forms

I haven't been unkind to you.
__________________


Mr. Xav | Website | Forums | Blog
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #32 (permalink)  
Old 08-18-2008, 07:33 AM
TcM's Avatar   
TcM TcM is offline
Code Warrior
 
Join Date: Aug 2006
Location: In a technologic world :p
Posts: 8,332
Rep Power: 68
TcM is a glorious beacon of lightTcM is a glorious beacon of lightTcM is a glorious beacon of lightTcM is a glorious beacon of lightTcM is a glorious beacon of light
Default Re: Creation of captcha / Part II /Secure forms

I didn't say you are unkind to me... you are just annoying sometimes.

Anyways, we went completely off-topic. We already discussed this via PM (sorta) so let's just continue with our lives...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #33 (permalink)  
Old 08-18-2008, 07:35 AM
Xav's Avatar   
Xav Xav is offline
Code Warrior
 
Join Date: Mar 2008
Location: On God's Planet
Posts: 9,897
Last Blog:
Web slideshow in JavaS...
Rep Power: 78
Xav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud of
Send a message via MSN to Xav
Default Re: Creation of captcha / Part II /Secure forms

Quote:
Originally Posted by Xav View Post
No, you don't. What I want is for you to start being nicer to me.
Quote:
Originally Posted by TcM View Post
When you do, I'll be nicer.
It seems to imply that you want me to be kinder first. But it doesn't matter, I'm tired of arguing. Truce?
__________________


Mr. Xav | Website | Forums | Blog
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #34 (permalink)  
Old 08-18-2008, 07:41 AM
TcM's Avatar   
TcM TcM is offline
Code Warrior
 
Join Date: Aug 2006
Location: In a technologic world :p
Posts: 8,332
Rep Power: 68
TcM is a glorious beacon of lightTcM is a glorious beacon of lightTcM is a glorious beacon of lightTcM is a glorious beacon of lightTcM is a glorious beacon of light
Default Re: Creation of captcha / Part II /Secure forms

IMO a few weeks ago we were going along quite good. Let's just continue that way..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #35 (permalink)  
Old 08-18-2008, 07:54 AM
Xav's Avatar   
Xav Xav is offline
Code Warrior
 
Join Date: Mar 2008
Location: On God's Planet
Posts: 9,897
Last Blog:
Web slideshow in JavaS...
Rep Power: 78
Xav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud of
Send a message via MSN to Xav
Default Re: Creation of captcha / Part II /Secure forms

It was just when you said the stuff about IM in the chat thread, it dampened my spirits a bit.

OK, Arguing Locked. Lol
__________________


Mr. Xav | Website | Forums | Blog
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #36 (permalink)  
Old 11-18-2008, 02:17 AM
lekkerding lekkerding is offline
Newbie
 
Join Date: Nov 2008
Posts: 1
Rep Power: 0
lekkerding is on a distinguished road
Default Re: Creation of captcha / Part II /Secure forms

Let's try it
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #37 (permalink)  
Old 11-26-2008, 08:43 AM
maix maix is offline
Newbie
 
Join Date: Nov 2008
Posts: 5
Rep Power: 0
maix is on a distinguished road
Post Re: Creation of captcha / Part II /Secure forms

i was wondering about ways to make ur script more random.......and i came up with the following one
PHP Code:
//FONTS TO BE USED
$font1 'TRASHED.ttf';
$font2 'trashco.ttf';
$font3 'ChalkboardBold.ttf';
$font4 'CHILLER.TTF';
$fonts = array($font1$font2$font3$font4);

//IMAGES TO BE USED
$image1 'image.jpg';
$image2 'image (1).jpg';
$image3 'image (2).jpg';
$image4 'image (3).jpg';
$image5 'image (4).jpg';
$image6 'image (5).jpg';
$images = array($image1$image2$image3$image4$image5$image6);



session_start();

//background image randomization
shuffle($images);
$im imagecreatefromjpeg ($images[0]);
    if ( 
function_exists'imagefilter' ) )
        {
            
imagefilter$imIMG_FILTER_GAUSSIAN_BLUR );
        }
        
$g2 rand(110);
    if(
$g2 5){
        
$gaussian = array(array(1.02.01.0), array(2.04.02.0), array(1.02.01.0));
        
imageconvolution($im$gaussian160);
        }
        
    if(
$gd2 5){
        
imagefilter($imIMG_FILTER_GRAYSCALE100);
        }

$rand1 rand(1,255);
$rand2 rand(1,255);
$rand3 rand(1,255);
$color imagecolorallocate($im$rand1$rand2$rand3);

$_direction = ( time() % ) ? TRUE FALSE;

        

//smart 'readable word' creation :P
$no2 rand(110);

if (
$no2 == 10) {
    
$str str_shuffle(ao);
}
if (
$no2 == 1) {
    
$str str_shuffle(da);
}
if (
$no2 == 2) {
    
$str str_shuffle(ge);
}
if (
$no2 == 3) {
    
$str str_shuffle(ji);
}
if (
$no2 == 4) {
    
$str str_shuffle(mo);
}
if (
$no2 == 5) {
    
$str str_shuffle(pu);
}
if (
$no2 == 6) {
    
$str str_shuffle(sa);
}
if (
$no2 == 7) {
    
$str str_shuffle(vi);
}
if (
$no2 == 8) {
    
$str str_shuffle(xe);
}
if (
$no2 == 9) {
    
$str str_shuffle(io);
}

$str1 = array(aeiou);
shuffle($str1);

$str2 = array(abcdfgjklmnpqrstxz);
shuffle($str2);

$text $str.$str1[0].$str2[0];

//font randomization
shuffle($fonts);
$font $fonts[0];

//text size and offset randomization
$size rand(3040);
$off rand(050);

//image creation
imagettftext($im$size0$off45$color$font$text);
header('Content-type: image/jpg');
imagejpeg($im);
imagedestroy($im);


$_SESSION['captcha'] = $text;
?> 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #38 (permalink)  
Old 11-26-2008, 03:57 PM
Jaan's Avatar   
Jaan Jaan is offline
Mod
 
Join Date: Dec 2006
Location: Estonia
Age: 17
Posts: 937
Last Blog:
AdStar Ad Control Pa...
Rep Power: 17
Jaan is just really niceJaan is just really niceJaan is just really niceJaan is just really nice
Send a message via MSN to Jaan
Default Re: Creation of captcha / Part II /Secure forms

hmm.. looks cool mate nice job..
__________________


Cheap & Professional Web Design | Need help? Send a PM
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #39 (permalink)  
Old 11-27-2008, 07:40 AM
maix maix is offline
Newbie
 
Join Date: Nov 2008
Posts: 5
Rep Power: 0
maix is on a distinguished road
Default Re: Creation of captcha / Part II /Secure forms

thanks bro,
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #40 (permalink)  
Old 11-27-2008, 10:52 AM
maix maix is offline
Newbie
 
Join Date: Nov 2008
Posts: 5
Rep Power: 0
maix is on a distinguished road
Default Re: Creation of captcha / Part II /Secure forms

i would really appreciate if someone write some kind of code that will pick out the fonts and images automatically without us having to define the variables manually ...............that would make the script some what user friendly...............................
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump