|
Posted by Rik Wasmus on 12/06/07 06:50
On Thu, 06 Dec 2007 07:35:01 +0100, R.A.M. <r_ahimsa_m@poczta.onet.pl> =
wrote:
> Hello,
> I have little experience in PHP so I would like to ask a question. I u=
se
> PHP5 in Windows XP Professional, Apache 2.0.59.
> I have created a website with index.php file. This file contains:
> <ul>
> <?php include('Menu/Association.inc'); ?>
> </ul>
> The file Menu/Association.inc starts with:
> <li><a href=3D"Association.php">Strona Stowarzyszenia</a></li>
> (I mean before <li> there are no characters, "<" is first byte of the =
=
> file).
> Unexpectedly in a browser I noticed additional space. When I view sour=
ce =
> I
> see in Notepad strange character between <ul> and <li> - Notepad shows=
=
> it as
> square box so I guess that it is a control character, ASCII < "!".
> I tried to use readfile() instead of include() but with the same resul=
t.
> Both files, index.php and Menu/Association.inc, are encoded using UTF-=
8 =
> (I
> have veryfied).
> Could you help me please?
UTF-8 BOM that shouldn't be there? (EF BB BF)
-- =
Rik Wasmus
Navigation:
[Reply to this message]
|