[PHP-DB] Getting error with IE

2005-08-16 Thread Vincent Lape
I am getting an error with IE when I load the page
https://doctors.cardiactelecom.com
Line: 6
Char: 1
Error: Object Expected
Code: 0

[CODE]
?php require_once('Connections/mysql.php'); ?
?php
// *** Validate request to login to this site.
session_start();

$loginFormAction=$_SERVER['PHP_SELF'];
if (isset($accesscheck)) {
  $GLOBALS['PrevUrl'] = $accesscheck;
  session_register('PrevUrl');
}
[/CODE]

Any help would be appreciated

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



RE: [PHP-DB] Getting error with IE

2005-08-16 Thread Bastien Koert

Its a js error, post the complete page code/ js code for the page

bastien



From: Vincent Lape [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: php-db@lists.php.net
Subject: [PHP-DB] Getting error with IE
Date: Tue, 16 Aug 2005 16:59:11 -0400

I am getting an error with IE when I load the page
https://doctors.cardiactelecom.com
Line: 6
Char: 1
Error: Object Expected
Code: 0

[CODE]
?php require_once('Connections/mysql.php'); ?
?php
// *** Validate request to login to this site.
session_start();

$loginFormAction=$_SERVER['PHP_SELF'];
if (isset($accesscheck)) {
  $GLOBALS['PrevUrl'] = $accesscheck;
  session_register('PrevUrl');
}
[/CODE]

Any help would be appreciated

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



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



RE: [PHP-DB] Getting error with IE

2005-08-16 Thread Vincent Lape
?php require_once('Connections/mysql.php'); ?
?php
// *** Validate request to login to this site.
session_start();

$loginFormAction=$_SERVER['PHP_SELF'];
if (isset($accesscheck)) {
  $GLOBALS['PrevUrl'] = $accesscheck;
  session_register('PrevUrl');
}

if (isset($_POST['UserID'])) {
  $loginUsername=$_POST['UserID'];
  $password=$_POST['Passwd'];
  $MM_fldUserAuthorization = isauth;
  $MM_redirectLoginSuccess = ctc/index2.php;
  $MM_redirectLoginFailed = login_error.php;
  $MM_redirecttoReferrer = false;
  mysql_select_db($database_mysql, $mysql);

  $LoginRS__query=sprintf(SELECT username, password, isauth FROM webauth
WHERE username='%s' AND password='%s',
  get_magic_quotes_gpc() ? $loginUsername : addslashes($loginUsername),
get_magic_quotes_gpc() ? $password : addslashes($password)); 
   
  $LoginRS = mysql_query($LoginRS__query, $mysql) or die(mysql_error());
  $loginFoundUser = mysql_num_rows($LoginRS);
  if ($loginFoundUser) {

$loginStrGroup  = mysql_result($LoginRS,0,'isauth');

//declare two session variables and assign them
$GLOBALS['MM_Username'] = $loginUsername;
$GLOBALS['MM_UserGroup'] = $loginStrGroup;

//register the session variables
session_register(MM_Username);
session_register(MM_UserGroup);

if (isset($_SESSION['PrevUrl'])  false) {
  $MM_redirectLoginSuccess = $_SESSION['PrevUrl'];  
}
header(Location:  . $MM_redirectLoginSuccess );
  }
  else {
header(Location: . $MM_redirectLoginFailed );
  }
}
?
html
head
titleCardiac Telecom Patient Information Login/title
link REL=stylesheet TYPE=text/css
HREF=file:///C|/Documents%20and%20Settings/vlape/My%20Documents/site_templa
te/Webadmin/WinCss.css
/HEAD
BODY bgcolor=#FF onLoad=RunMe();

table width=90% border=0 cellspacing=0 cellpadding=3
align=center
  tr
td
  center
a href=index.phpimg src=content/logo.gif width=199
height=60 border=0/a
form ACTION=?php echo $loginFormAction; ? method=POST
name=LoginForm
  table width=63 border=0 cellspacing=0 cellpadding=3
align=center
tr 
  tdfont color=8F9CBCbfont
size=2Username:/font/b/fontbr
input type=text name=UserID class=txtbox
  /td
/tr
tr 
  tdfont color=8F9CBCbfont
size=2Password:/font/b/fontbr
input type=password name=Passwd class=txtbox
  /td
/tr
tr 
  td 
input type=image src=content/signin.gif width=64
height=18 name=image
  /td
/tr
  /table
/form
 
  /center

/td
  /tr
/table
div align=centerfont size=1br
  a href=http://www.cardiactelecom.com; target=_blankbr
  Copyright copy; Cardiac Telecom Corporation /a/font/div
/BODY
/HTML

 -- 
Vincent Lape
Systems Administrator, Cardiac Telecom Corporation.
 -Original Message-
 From: Bastien Koert [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, August 16, 2005 5:04 PM
 To: [EMAIL PROTECTED]; php-db@lists.php.net
 Subject: RE: [PHP-DB] Getting error with IE
 
 Its a js error, post the complete page code/ js code for the page
 
 bastien
 
 
 From: Vincent Lape [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 To: php-db@lists.php.net
 Subject: [PHP-DB] Getting error with IE
 Date: Tue, 16 Aug 2005 16:59:11 -0400
 
 I am getting an error with IE when I load the page
 https://doctors.cardiactelecom.com
 Line: 6
 Char: 1
 Error: Object Expected
 Code: 0
 
 [CODE]
 ?php require_once('Connections/mysql.php'); ?
 ?php
 // *** Validate request to login to this site.
 session_start();
 
 $loginFormAction=$_SERVER['PHP_SELF'];
 if (isset($accesscheck)) {
$GLOBALS['PrevUrl'] = $accesscheck;
session_register('PrevUrl');
 }
 [/CODE]
 
 Any help would be appreciated
 
 --
 PHP Database Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 

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



RE: [PHP-DB] Getting error with IE

2005-08-16 Thread Bastien Koert

can you attach the file...hotmail always make a mess of the code

bastien



From: Vincent Lape [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: 'Bastien Koert' [EMAIL PROTECTED],php-db@lists.php.net
Subject: RE: [PHP-DB] Getting error with IE
Date: Tue, 16 Aug 2005 17:28:50 -0400

?php require_once('Connections/mysql.php'); ?
?php
// *** Validate request to login to this site.
session_start();

$loginFormAction=$_SERVER['PHP_SELF'];
if (isset($accesscheck)) {
  $GLOBALS['PrevUrl'] = $accesscheck;
  session_register('PrevUrl');
}

if (isset($_POST['UserID'])) {
  $loginUsername=$_POST['UserID'];
  $password=$_POST['Passwd'];
  $MM_fldUserAuthorization = isauth;
  $MM_redirectLoginSuccess = ctc/index2.php;
  $MM_redirectLoginFailed = login_error.php;
  $MM_redirecttoReferrer = false;
  mysql_select_db($database_mysql, $mysql);

  $LoginRS__query=sprintf(SELECT username, password, isauth FROM webauth
WHERE username='%s' AND password='%s',
  get_magic_quotes_gpc() ? $loginUsername : addslashes($loginUsername),
get_magic_quotes_gpc() ? $password : addslashes($password));

  $LoginRS = mysql_query($LoginRS__query, $mysql) or die(mysql_error());
  $loginFoundUser = mysql_num_rows($LoginRS);
  if ($loginFoundUser) {

$loginStrGroup  = mysql_result($LoginRS,0,'isauth');

//declare two session variables and assign them
$GLOBALS['MM_Username'] = $loginUsername;
$GLOBALS['MM_UserGroup'] = $loginStrGroup;

//register the session variables
session_register(MM_Username);
session_register(MM_UserGroup);

if (isset($_SESSION['PrevUrl'])  false) {
  $MM_redirectLoginSuccess = $_SESSION['PrevUrl'];
}
header(Location:  . $MM_redirectLoginSuccess );
  }
  else {
header(Location: . $MM_redirectLoginFailed );
  }
}
?
html
head
titleCardiac Telecom Patient Information Login/title
link REL=stylesheet TYPE=text/css
HREF=file:///C|/Documents%20and%20Settings/vlape/My%20Documents/site_templa
te/Webadmin/WinCss.css
/HEAD
BODY bgcolor=#FF onLoad=RunMe();

table width=90% border=0 cellspacing=0 cellpadding=3
align=center
  tr
td
  center
a href=index.phpimg src=content/logo.gif width=199
height=60 border=0/a
form ACTION=?php echo $loginFormAction; ? method=POST
name=LoginForm
  table width=63 border=0 cellspacing=0 cellpadding=3
align=center
tr
  tdfont color=8F9CBCbfont
size=2Username:/font/b/fontbr
input type=text name=UserID class=txtbox
  /td
/tr
tr
  tdfont color=8F9CBCbfont
size=2Password:/font/b/fontbr
input type=password name=Passwd class=txtbox
  /td
/tr
tr
  td
input type=image src=content/signin.gif width=64
height=18 name=image
  /td
/tr
  /table
/form

  /center

/td
  /tr
/table
div align=centerfont size=1br
  a href=http://www.cardiactelecom.com; target=_blankbr
  Copyright copy; Cardiac Telecom Corporation /a/font/div
/BODY
/HTML

 --
Vincent Lape
Systems Administrator, Cardiac Telecom Corporation.
 -Original Message-
 From: Bastien Koert [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, August 16, 2005 5:04 PM
 To: [EMAIL PROTECTED]; php-db@lists.php.net
 Subject: RE: [PHP-DB] Getting error with IE

 Its a js error, post the complete page code/ js code for the page

 bastien


 From: Vincent Lape [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 To: php-db@lists.php.net
 Subject: [PHP-DB] Getting error with IE
 Date: Tue, 16 Aug 2005 16:59:11 -0400
 
 I am getting an error with IE when I load the page
 https://doctors.cardiactelecom.com
 Line: 6
 Char: 1
 Error: Object Expected
 Code: 0
 
 [CODE]
 ?php require_once('Connections/mysql.php'); ?
 ?php
 // *** Validate request to login to this site.
 session_start();
 
 $loginFormAction=$_SERVER['PHP_SELF'];
 if (isset($accesscheck)) {
$GLOBALS['PrevUrl'] = $accesscheck;
session_register('PrevUrl');
 }
 [/CODE]
 
 Any help would be appreciated
 
 --
 PHP Database Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 

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



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



RE: [PHP-DB] Getting error with IE [[ SOLVED ]]

2005-08-16 Thread Vincent Lape
Thanks, the problem is solved. I forgot to remove an old ref to some
JavaScript I decided not to use. Funny what a fresh set of eyes will do for
something one has been staring at for hours :)

Thanks again,

Vinny

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