Recently, I upgraded to PHP 5, then the following error messages start to appear, which did not appear before the upgrade:
Notice: Use of undefined constant keep - assumed 'keep' in c:\sites\ncirs\ncirs.php on line 11
>>> 'Tis the code: $tpl=new nci_Template(".",keep);
Notice: Undefined variable: opt in c:\sites\ncirs\ncirs.php on line 13
Notice: Undefined variable: v in c:\sites\ncirs\ncirs.php on line 13
>>> 'Tis the code: if (($opt == 4 && $z == 1) || ($v == 1))
Notice: Use of undefined constant home - assumed 'home' in c:\sites\ncirs\ncirs.php on line 15
>>> 'Tis the code: else { $tpl->set_file(array(home=> "ncirs.htm")); }
Warning: Cannot modify header information - headers already sent by (output started at c:\sites\ncirs\ncirs.php:11) in c:\sites\ncirs\includes\session.inc on line 394
>>> 'Tis the code: header("Status: 302 Moved Temporarily");
Warning: Cannot modify header information - headers already sent by (output started at c:\sites\ncirs\ncirs.php:11) in c:\sites\ncirs\includes\session.inc on line 117
>>> 'Tis the code: SetCookie($this->name, $id, 0, "/", $this->cookie_domain);
Warning: Cannot modify header information - headers already sent by (output started at c:\sites\ncirs\ncirs.php:11) in c:\sites\ncirs\includes\session.inc on line 406
>>> 'Tis the code: header("Location: ". $PROTOCOL. "://".$HTTP_HOST.$this->self_url());
Thank you.