Problems with sessions
Posted: Sat Jan 24, 2009 11:09 am
Hi!
I've got problems with captcha script.
I include it into my pages this way:
The script has line:
It generates captcha but $_SESSION["captcha"] remains empty.
If I use
everything is OK - $_SESSION["captcha"] isn't empty (but in this case as you know I get symbols instead of captcha image).
I've tried 3 different captcha scripts - all have the same problem.
So I guess it's not about scripts, the problem is in my hosting settings (everything works fine locally) but I can't figure out which exactly. Could u please help?
I've got problems with captcha script.
I include it into my pages this way:
Code: Select all
<img src="captcha.php">Code: Select all
$_SESSION["captcha"]=$str;If I use
Code: Select all
<? include "captcha.php"; ?>I've tried 3 different captcha scripts - all have the same problem.
So I guess it's not about scripts, the problem is in my hosting settings (everything works fine locally) but I can't figure out which exactly. Could u please help?