Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Apr 2008
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Looking for a small small script (verification script)

    Hello;

    This is my first request here. I know a little of PHP /MYSQL and have for quite some time, just not enough to make my own scripts from scratch. Just modify existing ones.

    I need a small, small script. I have a live support link on my website for example. When clicked it runs/opens an executible on the clients machine where they can connect to me remotely.

    I don’t want people just clicking on it, unless a verification process is done.

    Basically what I’m thinking is to either give them the same code, or have a system autogenerate one? So they would click live support, get prompted with a fancy window that asks them for the code, and once verified it just runs the executible for them to download.

    Its a very basic request and I can’t imagine it costing alot at all. Any other questions let me know. Please email me at here with some pricing and details

    Thank you

    Note: this may be in the wrong forum... I looked below and I think it should be down there. Sorry

  • #2
    Senior Coder
    Join Date
    May 2005
    Posts
    2,137
    Thanks
    96
    Thanked 72 Times in 72 Posts
    Depending on how simple you want it, you can do something as simple as this.

    PHP Code:
    if ($_POST['submit') {
    //Asuming the image showed 4012
    $typed $_POST['verify'];
    if (
    $typed == '4012') {
    echo 
    'Verification code was correct!';
    }
    else {
    echo 
    'Verification code is invalid, please try again.';
    }
    }
    else {
    echo 
    '<form action="index.php" method="POST>';
    echo 
    '<img src="/images/numbers.jpg>';
    echo 
    'Type in the numbers above. <input type="text" name="verify" value="">';
    echo 
    '<input type="submit" name="submit" value="Verify it"></form>';

    Make a small image in ms paint or something, and just type in numbers or words on it, since computers can't read the image as a number or word.
    Rowsdower! has accused me of having mental problems, and the administrator allowed it. What a great forum huh?

  • #3
    New to the CF scene
    Join Date
    Jan 2010
    Posts
    5
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Not really an expert on these but I found a nifty script online las night so if you do a Google search on CAPTCHA scripts, I think it is what you need

  • #4
    New to the CF scene
    Join Date
    Apr 2008
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks guys. I think it was more like...storing them in a DB, and maybe having myself (admin) auto generate them when I want..and this way I could give it to the client, then they could put it in the input box and it would verify, thus allowing them to download.

    Although that would prob be a little more complicated lol


  •  

    Posting Permissions

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