Home     |     Java    |     Php General    |     Oracle Database    |     Oracle Server  

MS Dynamics CRM 3.0

  •  Setting up and Configuring Microsoft Dynamics CRM 3.0
  •  Managing Security and Information Access
  •  Entity Customization: Concepts and Attributes
  •  Entity Customization: Forms and Views
  •  Entity Customization: Relationships, Custom Entities, and Site Map
  •  Reporting and Analysis
  •  Workflow
  •  Server-Side SDK
  •  Client-Side SDK
  •  Integration with External Applications
  • Cervo Technologies
    The Right Source to Outsource

    Sharepoint Portal Server KB

    Microsoft CRM Info

    WPF Interview Questions

    SilverLight Interview Qs

    Asp.Net 2.0 Interview Qs

    Asp.NET 1.1 FAQs

    Oracle Interview Questions

    SAP Interview Questions

    PHP Programming

    Isset Errors


    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();

    If identifyUser() returns false, $_SESSION['userstate'] is not defined.

    Edward

    -----------------------------------------------Reply-----------------------------------------------

    elseif (isset($_SESSION['userstate']) && $_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

    --
    Some people have a "gift" link here.
    Know what I want?
    I want you to buy a CD from some indie artist.
    http://cdbaby.com/browse/from/lynch
    Yeah, I get a buck. So?
    Add to del.icio.us | Digg this | Stumble it | Powered by Megasolutions Inc