How to remove this error: "PHP Notice: Undefined index: ..."
Posted on 2008-10-26
- This line in PHP:
if( $_SESSION['security_code'] == $_POST['security_code'] && !empty($_SESSION['security_code'] ) ) // <----- line 403
->Cause error in log file of apache:
[Sun Oct 26 13:49:48 2008] [error] [client 220.127.116.11] PHP Notice: Undefined index: security_code in /var/www/html/test.html on line 403
And many this errors, and LOG of apache is increase quickly
How can I resolve this problem?
Thanks in advance!