Re: Output from first line ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



--- In php-objects@xxxxxxxxxxxxxxx, Pete <cgrp@...> wrote:
>
> In message <128947.76432.qm@...>, Arkadiusz
> Szczur <alienv66@...> writes
> >Hello
> > I have problem with output
> >
> >Cannot modify header information - headers already sent by (output
started at 
> >F:\wamp\www\test\admin.php:1)
> >
> >but on line 1 is only '<?php'
> >
> >And when i look in the code, nothing was outputted
> >
> >
> >Regards
> 
> If there is anything before the <?php - whether it be a space, blank
> link, carriage return, or tab, you will get this error.
> 
> Make sure that the < in <?php is on line 1, column 1,  of the script.
> 
> -- 
> Pete Clark
> 
> Sunny Andalucia
> http://www.hotcosta.com/comm_1.htm
>

no, <?php is on top of the file, line 1 column 1
i've fixed that problem yesterday - it was utf8 problem, it set 3
bytes at the beginning of the file and that caused output by php (it
wasn't visible in the browser), i've changed it to utf8 without BOM
and it's all working correctly now

thanks for replies


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux