• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CI Captcha Problems

#1
[eluser]dennismonsewicz[/eluser]
I am trying to use CI's native captcha plugin and I am having the darnest time trying to get the dern thing working!

Here is my code (from controller):

Code:
$vals = array(
    'word'         => 'test',
    'img_path'     => './captcha/',
    'img_url'     => base_url() . 'img/captcha/',
    'img_width'     => '150',
    'img_height' => 30,
    'expiration' => 7200
       );
    
    $cap = create_captcha($vals);
    $data['cap'] = $cap;

Code from View:

Code:
<?php echo print_r($cap); ?>

now when I print_r on this variable I get a 1 returned! Any help?


Messages In This Thread
CI Captcha Problems - by El Forum - 09-03-2009, 11:19 PM
CI Captcha Problems - by El Forum - 10-12-2009, 04:14 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.