I am having a really weird problem with a php script page.
If I view the html page that has this php embedded in it from IE it is displayed as expected. But when I view it in firefox then the php block at the top of the file seems to be interpreted wrong. The result is that most of the code appears on the html page as one long string. Adding to my confusion is the fact that if my colleague views the page from his PC under IE or firefox then it is displayed as expected. (We both have v1.5 of firefox running on windows 2000.)
When I view the source under firefox then the first bit of the php block is shown in pink (as I'd expect) but the rest of the block is in black. Like this:
If I view the html page that has this php embedded in it from IE it is displayed as expected. But when I view it in firefox then the php block at the top of the file seems to be interpreted wrong. The result is that most of the code appears on the html page as one long string. Adding to my confusion is the fact that if my colleague views the page from his PC under IE or firefox then it is displayed as expected. (We both have v1.5 of firefox running on windows 2000.)
When I view the source under firefox then the first bit of the php block is shown in pink (as I'd expect) but the rest of the block is in black. Like this:
Code:
[COLOR=pink]<?php
include "common.php";
if(isset($_POST['LogOff'])){ clearOutCookies();}
$cookietxt = "<td>[/color]";
if(isset($_COOKIE["logon"])){ $cookietxt .= $_COOKIE["logon"];}
$cookietxt.= "</td><td>";
if(isset($_COOKIE["address"])){
$cookietxt .= $_COOKIE["address"];
$ThisAddress = $_COOKIE["address"];
[code]
Does anyone know if there are settings in firefox somewhere that could be causing this?
M
[b]Trainee Chocolate Management Executive.[/b]