[PHP] shows up in IE but not Netscape

2001-02-09 Thread Erik Boles

We are running a webform, that asks for user ID and pass, then passes it on
to a .php3 file that shows them a page to continue (not a security thing,
just a tracking thing).

This .php3 file, called login.php3 works just fine in IE but when viewed in
netscape it simply shows a white screen.  We did a "view source" and all of
the php file is there, and it doesn't show any errors (HTML errors blink in
the 'view source' with Netscape).

Any ideas why the code below is not working right in Netscape??

--login.php3---

HTMLBODY

?php
switch ($position)
{
case "process":
 require('logon.inc');
$query = "select userid, company, active from registration where
userid='$userid' and password='$password'";
$result = mysql_query($query);
$row = @mysql_fetch_array($result);

//test section start

//print ("Id entered by user is $useridbr");
 //print ("Id retrieved from database is");
 //print $row["userid"];
 //print ("br");

 //test section end

if ($row["userid"] == $userid)
{
 if ($row["active"] =="YES")
 {
   ?
htmlhead/headbody bgcolor="#FF"
center
table valign=top nowrap
tr
td


OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-44455354"

codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0
,0"
   ID=ptac WIDTH=393 HEIGHT=272 ALIGN=top
PARAM NAME=movie VALUE="ptacwebsite.swf"
PARAM NAME=loop VALUE=false
PARAM NAME=quality VALUE=high
PARAM NAME=bgcolor VALUE=#FF
EMBED src="ptacwebsite.swf" quality=high bgcolor=#FF
loop=false
   WIDTH=393 HEIGHT=272 ALIGN=top TYPE="application/x-shockwave-flash"

PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_
Version=ShockwaveFlash"
/EMBED
 /OBJECT
   /td

   td
   Center
   Welcome back to the ColoradoPTAC website, ?PHP print
$row['company']; ?.brbr
Please click a href="registered/registered.html"
target="_top"here/a to
complete the login process and begin using the site.
/center
/td
/tr
table
?php
  }
  else
  {
  ?
htmlhead/headbody bgcolor="#FF"
center
B
Your account has temporarily been disabled by the system
administrator. If you
feel this was done by mistake, please send an email to
a href="mailto:[EMAIL PROTECTED]"
[EMAIL PROTECTED]/a
to resolve the issue.BRBR
We apologize for any inconvenience this has caused.
/B
/center
?php
   }
 }
 else
 {
  ?
  htmlhead/headbody bgcolor="#FF"
  center
  B
  Either you do not currently have a membership with us or you have entered
  an invalid Member ID/Password combination.brbr
  Please click a href="register/register.htm" target="_top"here/a to
  joinbrbr-OR-brbrClick a href="index.htm"here/a to try again.
  /B
  /center
  ?php
 }
}
?
/BODY/HTML

---login.php3--





Erik


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] shows up in IE but not Netscape

2001-02-09 Thread Angerer, Chad

Try closing your table here... or putting the new table in a td.  Netscape
is very picky with tables.



  complete the login process and begin using the site.
/center
/td
/tr
table
?php
  }
  else
  {
  ?
htmlhead/headbody bgcolor="#FF"
center
B
Your account has temporarily been disabled by the system
administrator. If you

-Original Message-
From: Erik Boles [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 09, 2001 11:09 AM
To: PHP3 List
Subject: [PHP] shows up in IE but not Netscape


We are running a webform, that asks for user ID and pass, then passes it on
to a .php3 file that shows them a page to continue (not a security thing,
just a tracking thing).

This .php3 file, called login.php3 works just fine in IE but when viewed in
netscape it simply shows a white screen.  We did a "view source" and all of
the php file is there, and it doesn't show any errors (HTML errors blink in
the 'view source' with Netscape).

Any ideas why the code below is not working right in Netscape??

--login.php3---

HTMLBODY

?php
switch ($position)
{
case "process":
 require('logon.inc');
$query = "select userid, company, active from registration where
userid='$userid' and password='$password'";
$result = mysql_query($query);
$row = @mysql_fetch_array($result);

//test section start

//print ("Id entered by user is $useridbr");
 //print ("Id retrieved from database is");
 //print $row["userid"];
 //print ("br");

 //test section end

if ($row["userid"] == $userid)
{
 if ($row["active"] =="YES")
 {
   ?
htmlhead/headbody bgcolor="#FF"
center
table valign=top nowrap
tr
td


OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-44455354"

codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0
,0"
   ID=ptac WIDTH=393 HEIGHT=272 ALIGN=top
PARAM NAME=movie VALUE="ptacwebsite.swf"
PARAM NAME=loop VALUE=false
PARAM NAME=quality VALUE=high
PARAM NAME=bgcolor VALUE=#FF
EMBED src="ptacwebsite.swf" quality=high bgcolor=#FF
loop=false
   WIDTH=393 HEIGHT=272 ALIGN=top TYPE="application/x-shockwave-flash"

PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_
Version=ShockwaveFlash"
/EMBED
 /OBJECT
   /td

   td
   Center
   Welcome back to the ColoradoPTAC website, ?PHP print
$row['company']; ?.brbr
Please click a href="registered/registered.html"
target="_top"here/a to
complete the login process and begin using the site.
/center
/td
/tr
table
?php
  }
  else
  {
  ?
htmlhead/headbody bgcolor="#FF"
center
B
Your account has temporarily been disabled by the system
administrator. If you
feel this was done by mistake, please send an email to
a href="mailto:[EMAIL PROTECTED]"
[EMAIL PROTECTED]/a
to resolve the issue.BRBR
We apologize for any inconvenience this has caused.
/B
/center
?php
   }
 }
 else
 {
  ?
  htmlhead/headbody bgcolor="#FF"
  center
  B
  Either you do not currently have a membership with us or you have entered
  an invalid Member ID/Password combination.brbr
  Please click a href="register/register.htm" target="_top"here/a to
  joinbrbr-OR-brbrClick a href="index.htm"here/a to try again.
  /B
  /center
  ?php
 }
}
?
/BODY/HTML

---login.php3--





Erik


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] shows up in IE but not Netscape

2001-02-09 Thread Jesse Swensen

Sounds like you may be missing a piece of a table. Make sure all your table,
tr, td type tags have a closing tag.  IE is more forgiving...
-- 
Jesse Swensen
[EMAIL PROTECTED]

 From: "Erik Boles" [EMAIL PROTECTED]
 Organization: rocky Mountain Web Tech
 Reply-To: "Erik Boles" [EMAIL PROTECTED]
 Date: Fri, 9 Feb 2001 10:09:02 -0700
 To: "PHP3 List" [EMAIL PROTECTED]
 Subject: [PHP] shows up in IE but not Netscape
 
 We are running a webform, that asks for user ID and pass, then passes it on
 to a .php3 file that shows them a page to continue (not a security thing,
 just a tracking thing).
 
 This .php3 file, called login.php3 works just fine in IE but when viewed in
 netscape it simply shows a white screen.  We did a "view source" and all of
 the php file is there, and it doesn't show any errors (HTML errors blink in
 the 'view source' with Netscape).
 
 Any ideas why the code below is not working right in Netscape??
 
 --login.php3---
 
 HTMLBODY
 
 ?php
 switch ($position)
 {
 case "process":
 require('logon.inc');
 $query = "select userid, company, active from registration where
 userid='$userid' and password='$password'";
 $result = mysql_query($query);
 $row = @mysql_fetch_array($result);
 
 //test section start
 
 //print ("Id entered by user is $useridbr");
 //print ("Id retrieved from database is");
 //print $row["userid"];
 //print ("br");
 
 //test section end
 
 if ($row["userid"] == $userid)
 {
 if ($row["active"] =="YES")
 {
 ?
 htmlhead/headbody bgcolor="#FF"
 center
 table valign=top nowrap
 tr
 td
 
 
 OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-44455354"
 
 codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0
 ,0"
 ID=ptac WIDTH=393 HEIGHT=272 ALIGN=top
 PARAM NAME=movie VALUE="ptacwebsite.swf"
 PARAM NAME=loop VALUE=false
 PARAM NAME=quality VALUE=high
 PARAM NAME=bgcolor VALUE=#FF
 EMBED src="ptacwebsite.swf" quality=high bgcolor=#FF
 loop=false
 WIDTH=393 HEIGHT=272 ALIGN=top TYPE="application/x-shockwave-flash"
 
 PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_
 Version=ShockwaveFlash"
 /EMBED
 /OBJECT
 /td
 
 td
 Center
 Welcome back to the ColoradoPTAC website, ?PHP print
 $row['company']; ?.brbr
 Please click a href="registered/registered.html"
 target="_top"here/a to
 complete the login process and begin using the site.
 /center
 /td
 /tr
 table
 ?php
 }
 else
 {
 ?
 htmlhead/headbody bgcolor="#FF"
 center
 B
 Your account has temporarily been disabled by the system
 administrator. If you
 feel this was done by mistake, please send an email to
 a href="mailto:[EMAIL PROTECTED]"
 [EMAIL PROTECTED]/a
 to resolve the issue.BRBR
 We apologize for any inconvenience this has caused.
 /B
 /center
 ?php
 }
 }
 else
 {
 ?
 htmlhead/headbody bgcolor="#FF"
 center
 B
 Either you do not currently have a membership with us or you have entered
 an invalid Member ID/Password combination.brbr
 Please click a href="register/register.htm" target="_top"here/a to
 joinbrbr-OR-brbrClick a href="index.htm"here/a to try again.
 /B
 /center
 ?php
 }
 }
 ?
 /BODY/HTML
 
 ---login.php3--
 
 
 
 
 
 Erik
 
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]
 
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] shows up in IE but not Netscape

2001-02-09 Thread Robin Vickery

 "EB" == "Erik Boles" [EMAIL PROTECTED] writes:

  We are running a webform, that asks for user ID and pass, then
  passes it on to a .php3 file that shows them a page to continue
  (not a security thing, just a tracking thing).

  This .php3 file, called login.php3 works just fine in IE but when
  viewed in netscape it simply shows a white screen.  We did a "view
  source" and all of the php file is there, and it doesn't show any
  errors (HTML errors blink in the 'view source' with Netscape).

  Any ideas why the code below is not working right in Netscape??

Mainly because your closing 'table' tag is missing its slash.
The duplicated 'head' and 'body' tags probably aren't helping
either.

-robin

-- 
Robin Vickery.
BlueCarrots, 14th Floor, 20 Eastbourne Terrace, London, W2 6LE

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] shows up in IE but not Netscape

2001-02-09 Thread Matt Williams


 /EMBED
  /OBJECT
/td
 
td

No /tr
Center
Welcome back to the ColoradoPTAC website, ?PHP print
 $row['company']; ?.brbr
 Please click a href="registered/registered.html"
 target="_top"here/a to
 complete the login process and begin using the site.
 /center
 /td
 /tr
 table
 ?php

should be /table

HTH M@

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] shows up in IE but not Netscape

2001-02-09 Thread Philip Olson


Also :

Whenever this problem exists, run your site through here :

http://validator.w3.org/

Actually, always run sites through there, it's useful (sometimes a bit
picky.)  For things like missing table tags, it's very helpful.

Regards,

Philip


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] shows up in IE but not Netscape

2001-02-09 Thread John Vanderbeck

 Good web design rule of thumb: Always check against Netscape.  If it
 renders in Netscape, odds are it'll render in IE.  The reverse is not
 true.

 Matt


I find dealing with Netscape browsers a pain.  So many people complain that
IE doesn't follow the standards, but I find it the other way around.
Especially when it comes to Stylesheets, even using CSS Level 1, which is
like 5 years old.  Netscape just plain ignores alot of attributes, or
handles them different from the spec, that it makes it such a pain getting a
page to look the same in both.  Arg

/Rant off
- John Vanderbeck
- Admin, GameDesign


 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] shows up in IE but not Netscape

2001-02-09 Thread John McCreesh

In article Pine.BSF.4.10.10102091810160.57269-10@localhost, Philip
Olson [EMAIL PROTECTED] writes
Whenever this problem exists, run your site through here :

http://validator.w3.org/

Actually, always run sites through there, it's useful (sometimes a bit
picky.)  For things like missing table tags, it's very helpful.

Better still, download the 'tidy' utility from the same site - or even
better, use a free editor like HTML-Kit (www.chami.com) that embeds
'tidy'

John

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]