+ Reply to Thread
Page 4 of 5 FirstFirst ... 2345 LastLast
Results 31 to 40 of 48

Thread: Creation of captcha / Part II /Secure forms

  1. #31
    Join Date
    Mar 2008
    Location
    The North Pole
    Posts
    13,174
    Blog Entries
    13
    Rep Power
    114

    Re: Creation of captcha / Part II /Secure forms

    I haven't been unkind to you.

    Quote Originally Posted by Jordan View Post
    Good members, like yourself, stick around and post for ages to come!
    Mr. Xav | Blog | Forums

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Location
    Advertising world
    Posts
    Many

     
  3. #32
    Join Date
    Aug 2006
    Posts
    11,209
    Blog Entries
    6
    Rep Power
    101

    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...

  4. #33
    Join Date
    Mar 2008
    Location
    The North Pole
    Posts
    13,174
    Blog Entries
    13
    Rep Power
    114

    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?

    Quote Originally Posted by Jordan View Post
    Good members, like yourself, stick around and post for ages to come!
    Mr. Xav | Blog | Forums

  5. #34
    Join Date
    Aug 2006
    Posts
    11,209
    Blog Entries
    6
    Rep Power
    101

    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..

  6. #35
    Join Date
    Mar 2008
    Location
    The North Pole
    Posts
    13,174
    Blog Entries
    13
    Rep Power
    114

    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

    Quote Originally Posted by Jordan View Post
    Good members, like yourself, stick around and post for ages to come!
    Mr. Xav | Blog | Forums

  7. #36
    lekkerding is offline Newbie
    Join Date
    Nov 2008
    Posts
    1
    Rep Power
    0

    Re: Creation of captcha / Part II /Secure forms

    Let's try it

  8. #37
    maix is offline Newbie
    Join Date
    Nov 2008
    Posts
    5
    Rep Power
    0

    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 :001_unsure:
    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;
    ?> 

  9. #38
    Jaan Guest

    Re: Creation of captcha / Part II /Secure forms

    hmm.. looks cool mate nice job..

  10. #39
    maix is offline Newbie
    Join Date
    Nov 2008
    Posts
    5
    Rep Power
    0

    Re: Creation of captcha / Part II /Secure forms

    thanks bro,

  11. #40
    maix is offline Newbie
    Join Date
    Nov 2008
    Posts
    5
    Rep Power
    0

    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...............................

+ Reply to Thread
Page 4 of 5 FirstFirst ... 2345 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. 3D captcha - new captcha technology concept
    By Juraj Rolko in forum Technology Ramble
    Replies: 5
    Last Post: 07-25-2011, 03:44 PM
  2. Quick Tip 1 - Secure your forms against CSRF attacks
    By While1 in forum PHP Tutorials
    Replies: 0
    Last Post: 07-07-2010, 10:50 AM
  3. Creation of captcha
    By Jaan in forum PHP Tutorials
    Replies: 21
    Last Post: 03-22-2010, 04:01 AM
  4. Smarty - Part 2 - Smartify your Forms
    By Orjan in forum PHP Tutorials
    Replies: 4
    Last Post: 07-22-2009, 05:52 PM
  5. scripts on secure payment forms?
    By akuhl101 in forum Java Help
    Replies: 3
    Last Post: 04-18-2009, 11:37 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts