Parse error - new set of eyes?
| From: | Jas | Date: | Thu, 25 Jul 2002 20:40:28 +0000 |
| Subject: | Parse error - new set of eyes? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-109600@lists.php.net to get a copy of this message | ||
I am getting a parse error on line 14, I am trying to make sure session vars
are being set before rendering the page. This is lines 12,13,14 & 15. Any
help is appreciated.
Jas
if ((!$u_name) || (!$p_word)){
header("Location: index.php");
session_destroy();
exit; }
/* Check for missing session vars */
elseif ((!isset($HTTP_SESSION_VARS['clk']) ||
(!isset($HTTP_SESSION_VARS['holy_cow']) ||
(!isset($HTTP_SESSION_VARS['ipaddy']) || (!isset($HTTP_SESSION_VARS['a'])) {
/* Begin logging of client info to database table since session vars are
not present */
require '/path/to/connection/class/db.php';