php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26013 Cannot display string in netscape browser only IE
Submitted: 2003-10-27 17:09 UTC Modified: 2003-10-27 17:35 UTC
From: contact at palmtopreader dot com Assigned:
Status: Not a bug Package: Session related
PHP Version: 4.3.1 OS: Red hat linux
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: contact at palmtopreader dot com
New email:
PHP Version: OS:

 

 [2003-10-27 17:09 UTC] contact at palmtopreader dot com
Description:
------------
Please visit www.palmtopreader.com
to see the problem.

Basically the www.palmtopreader.com
will display text using IE but not Netscpae

I can't figure out if it is because
Netscape will not recognize the session varables
that drive the loop or not.

Reproduce code:
---------------
function writeLine(lines, lineIdx, letterIdx){
   var layer = new LayerObject("writer");
   var line  = lines[lineIdx];
   var line2 = lines[lineIdx+1];
   var tempWord;
   var i = 1;

      var out = "<font face = times new roman ><font size=5><B>"+ line +" </B></font></font>" ;
      var out2 = "<font face = times new roman><font size=5>"+ line2 +" </font></font>" ;

      if(line == null){
		window.location="http://www.palmtopreader.com/pages/endChapter.php/";

	  }

	  if(line != null)
	  {
	    if(line2 != null) { out += out2; }
	    layer.write(out);
        setTimeout("writeLine(lines,"+(lineIdx+1)+",0)",<? echo $speed; ?>);
      }
}


// The lines that the writer will write out!

var lines = new Array();
var i = 3;
var wordHolder;
var first= "$new[";
var second = "];";   
var $count = 3;

<? 
include("layers.txt");  
 

?>
//-->
</SCRIPT>
<META content="MSHTML 6.00.2800.1106" name=GENERATOR></HEAD>
<BODY onload=init()>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
  <TR>
    <TD colSpan=1 Nowrap><SPAN id=writer></SPAN></TD>
	</TR>
  </TABLE>
  </BODY></HTML>

Expected result:
----------------
See the text in netscape

Actual result:
--------------
Can only see the text in IE

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-10-27 17:35 UTC] edink@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 08 03:01:32 2025 UTC