Re: shows up in IE but not Netscape

From: Date: Sun, 11 Feb 2001 01:25:02 +0000
Subject: Re: shows up in IE but not Netscape
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-39102@lists.php.net to get a copy of this message
Thanks to everyone! Can't believe I missed that, but, then again, can't believe I got married either. ----- Original Message ----- From: Angerer, Chad <cangerer@ibsys.com> To: 'Erik Boles' <erik@rmwt.net>; PHP3 List <php-general@lists.php.net> Sent: Friday, February 09, 2001 10:24 AM Subject: RE: [PHP] shows up in IE but not Netscape > 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:erik@rmwt.net] > 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); > > file://test section start > > file://print ("Id entered by user is $userid<br>"); > file://print ("Id retrieved from database is"); > file://print $row["userid"]; > file://print ("<br>"); > > file://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:registration@coloradoptac.org"> > registration@coloradoptac.org</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: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#39102) next »