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
{
?>
<html><head></head><body bgcolor="#FFFFFF">
<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-------------------------------
<HTML><BODY>
<?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 $userid<br>");
//print ("Id retrieved from database is");
//print $row["userid"];
//print ("<br>");
//test section end
if ($row["userid"] == $userid)
{
if ($row["active"] =="YES")
{
?>
<html><head></head><body bgcolor="#FFFFFF">
<center>
<table valign=top nowrap>
<tr>
<td>
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
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=#FFFFFF>
<EMBED src="ptacwebsite.swf" quality=high bgcolor=#FFFFFF
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']; ?>.<br><br>
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
{
?>
<html><head></head><body bgcolor="#FFFFFF">
<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.<BR><BR>
We apologize for any inconvenience this has caused.
</B>
</center>
<?php
}
}
else
{
?>
<html><head></head><body bgcolor="#FFFFFF">
<center>
<B>
Either you do not currently have a membership with us or you have entered
an invalid Member ID/Password combination.<br><br>
Please click <a href="register/register.htm" target="_top">here</a> to
join<br><br>-OR-<br><br>Click <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]