|
Posted by Oli Filth on 09/28/54 11:16
Nullcode wrote:
>
> Thanks for all the help. I modified the content-type and still no joy.
> What I then did was remove the <?xml version tag incase the <? was
> conflicting with the PHP. Turns out it was :D I figured that it probably
> wouldnt validate then, but it did. So all is working perfectly :D
>
In that case, you have the short_open_tag directive enabled, which
allows <? to work as a PHP code delimiter as well as <?php. In your
situation, you really should have the <?xml version=... encoding=...?>
declaration, even if it works ok in Firefox without it. Therefore, you
should disable short_open_tag if you have access to your PHP config.
--
Oli
Navigation:
[Reply to this message]
|