When people log into the website in question, it passes the user ID and
password to the login.php3 file, (included below).  It works just fine in
IE, but in Netscape (tested on 4.7) it gives a blank white screen.  If we
view source, all of the source code is there, and it shows no errors (errors
flash in the source code in netscape) but it will not display in the screen.

Any idea what the problem is?  Is it in the code I have below?

Any help greatly appreciated.

-----------------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]

Reply via email to