Jump to content

Captcha; session problem


crackpanda

Recommended Posts

Hey, i have a problem with a captcha, i have been trying to solve this since last nite and i still haven't fixed it, its getting me pretty frustrated..  :-\

 

I'm using this script: http://www.white-hat-web-design.co.uk/articles/php-captcha.php

 

I have the captcha image working, but the session is not working properly.

 

I removed session_start(); because i have it in my root file, and i renamed;

 

$_SESSION['security_code'] = $code;

 

to

 

$_SESSION["captcha"]=$code;

 

Another thing to note, is i named my session so for example, my root file has session_name("mysession");

 

Any ideas on why $_SESSION["captcha"]=$code; does not work? Please help  :P

Link to comment
https://forums.phpfreaks.com/topic/164561-captcha-session-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.