From: contact at palmtopreader dot com
Operating system: Red hat linux
PHP version: 4.3.1
PHP Bug Type: Session related
Bug description: Cannot display string in netscape browser only IE
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
--
Edit bug report at http://bugs.php.net/?id=26013&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26013&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26013&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=26013&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=26013&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=26013&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=26013&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=26013&r=support
Expected behavior: http://bugs.php.net/fix.php?id=26013&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=26013&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=26013&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=26013&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26013&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=26013&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=26013&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=26013&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26013&r=float