未定义的索引错误验证码

时间:2013-04-23 18:50:09

标签: php mysql

请帮我解决Undefined index:captcha error。 错误说'captcha'未使用以下代码定义: -

if(!isset($_REQUEST['captcha']) || (strtolower($_REQUEST['captcha']) != strtolower($_SESSION['captcha'])))   {

请帮忙。

1 个答案:

答案 0 :(得分:1)

在$ _REQUEST中定义,但可能不在$ _SESSION中。