[eluser]RiccardoC[/eluser]
I was working with captcha, but there's no way to obtain the array I need in local (on the web it work)
Here is my code
Code:
$vals = array(
'img_path' => 'C:/mywebzone/captcha/',
'img_url' => base_url() . 'captcha/',
);
$captcha = create_captcha( $vals );
I also used
Code:
'img_path' => 'C:\\mywebzone\\captcha\\'
and
Code:
'img_path' => './captcha/';
Whatever I try, the $captcha variable contain an empty string (not an array as expected)
The strange things is that if I put the code on the server, it work perfectly and the $captcha variable contain the expected array
Any idea?