Anyone got any suggestions on getting rid of these errors below?

[Wed May 09 08:59:05 2007] [error] [client 192.168.225.246] PHP Notice:  
Undefined index:  userstate in /srv/www/htdocs/resetpw.php on line 31, referer: 
https://ams.unt.edu/resetpw.php 
[Wed May 09 08:59:05 2007] [error] [client 192.168.225.246] PHP Notice:  
Undefined index:  userstate in /srv/www/htdocs/resetpw.php on line 36, referer: 
https://ams.unt.edu/resetpw.php 

 
Here's the lines of code I am getting the errors in PHP 5...Where can I insert 
some code to define 'userstate' ?


24. if (identifyUser()) {
25.   if ((isset($_SESSION['clientinfo']['ssn'][0]) && strcmp('999999999', 
$_SESSION['clientinfo']['ssn'][0]))
26.       || isset($_SESSION['clientsinfo'])) {
27.   $_SESSION['userstate'] = 'confirmssn';
28.  } else {
29.   $_SESSION['userstate'] = 'ssnverified';
30.  }
31. } elseif ($_SESSION['userstate'] == 'confirmssn' && confirmSSN()) {
32.  $_SESSION['userstate'] = 'ssnverified';
33. }
34. initMenu();
35. if (isset($_SESSION['userstate'])) return 0;
36. if ($_SESSION['userstate'] == 'confirmssn') {
37.   themeHeader();

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to