The problem is at the end of the line where the ">" in "if
(origVal.charAt(i)>=" is interpreted as the closing of the INPUT tag.

I think the problem must be local to my server since not many people
experience this too.
My PHP version is 4.1.0-317.



I think I may have experienced this or something very similar to it with
1.4.3a. I was using the latest login_notes to add a hearder/footer to
the login page and I found that the last HTML tag on the page was being
mangled inappropriately. For example --

$bottomText = "<p><center>Hello World<font color = "#FFFFFF">';

Becomes --

"<p><center>Hello World<font</body>
</html>"

Look at your quotes. They are mixed up. The quote at the beginning of the line needs to be a single one.


and

$bottomText = "<b>hello</b>";

Becomes --
"<b>hello</</body>
</html>"

Not sure about that one. Try with single quotes - those are ALWAYS better than double ones unless you need variable interpolation inside of the string.


In both cases the part of the tag that is being removed is being
displayed as text, not markup, on the page. Even more curious is the
fact that it only happens every other refresh of the page, consistently.
I thought it might be a php bug and was going to upgrade php before
reporting to the list. I was able to 'work around' it in a not-very
elegant, but functional way --

$bottomText = "my other stuff here that I wanted to display... <font
color = "#FFFFFF"><';

Er, not sure I follow that, but your quotes are still wrong.

 - Paul


------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 -- Posting Guidelines: http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines squirrelmail-users mailing list List Address: [EMAIL PROTECTED] List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to