Hi I guess the summary would be
I didnt mean within the PHP tag, I meant before the PHP tag. Buffering wont help here. Within the PHP tag, spaces have no consequence.e.g
<newline>
<?php ........?>
That newline character will be transmitted as the server processes the page.
However
<?php
<newline>
........
?>
this has no consequence.On Sat, Sep 29, 2012 at 5:10 AM, Francis <fkimotho@gmail.com> wrote:
Kiti Chigiri <kiti.chigiri@gmail.com> wrote:
>or use output buffering
><?php
>ob_start();
>//your code goes here
>ob_flush();
>?>
>
>
>On Sat, Sep 29, 2012 at 2:27 AM, Frankline Chitwa <frank.chitwa@gmail.com>wrote:
>
>> The most common error for this in PHP is if you have space above your
>> code. The space gets transmitted back to the browser before the headers,
>> therefore, headers are assumed to go after content.
>>
>> Remove any spaces or new line character above the PHP code.
>>
>> On Fri, Sep 28, 2012 at 2:45 PM, <rickinyua@gmail.com> wrote:
>>
>>> Its an issue with sending headers but the easiest way is to 'cheat' your
>>> way around and avoid the warning by adding "@" before the code that
>>> redirects
>>> I.E.
>>> @header(sprintf("Location: %s", $insertGoTo));
>>>
>>> That should work.
>>>
>>> Rgds,
>>> Kinyua Ndwiga.
>>> Sent from my BlackBerry®
>>>
>>> -----Original Message-----
>>> From: Anthony Tai <jicholatai@gmail.com>
>>> Sender: skunkworks-bounces@lists.my.co.ke
>>> Date: Thu, 27 Sep 2012 16:09:47
>>> To: Skunkworks Mailing List<skunkworks@lists.my.co.ke>
>>> Reply-To: Skunkworks Mailing List <skunkworks@lists.my.co.ke>
>>> Subject: [Skunkworks] PHP Help
>>>
>>> _______________________________________________
>>> Skunkworks mailing list
>>> Skunkworks@lists.my.co.ke
>>> ------------
>>> List info, subscribe/unsubscribe
>>> http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
>>> ------------
>>>
>>> Skunkworks Rules
>>> http://my.co.ke/phpbb/viewtopic.php?f=24&t=94
>>> ------------
>>> Other services @ http://my.co.ke
>>> _______________________________________________
>>> Skunkworks mailing list
>>> Skunkworks@lists.my.co.ke
>>> ------------
>>> List info, subscribe/unsubscribe
>>> http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
>>> ------------
>>>
>>> Skunkworks Rules
>>> http://my.co.ke/phpbb/viewtopic.php?f=24&t=94
>>> ------------
>>> Other services @ http://my.co.ke
>>>
>>
>>
>>
>> --
>> www.golavish.com - The travel and leisure
>> www.raccuddasys.com - code Development issues
>>
>> _______________________________________________
>> Skunkworks mailing list
>> Skunkworks@lists.my.co.ke
>> ------------
>> List info, subscribe/unsubscribe
>> http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
>> ------------
>>
>> Skunkworks Rules
>> http://my.co.ke/phpbb/viewtopic.php?f=24&t=94
>> ------------
>> Other services @ http://my.co.ke
>>
>
>_______________________________________________
>Skunkworks mailing list
>Skunkworks@lists.my.co.ke
>------------
>List info, subscribe/unsubscribe
>http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
>------------
>
>Skunkworks Rules
>http://my.co.ke/phpbb/viewtopic.php?f=24&t=94
>------------
>Other services @ http://my.co.ke
_______________________________________________
Skunkworks mailing list
Skunkworks@lists.my.co.ke
------------
List info, subscribe/unsubscribe
http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
------------
Skunkworks Rules
http://my.co.ke/phpbb/viewtopic.php?f=24&t=94
------------
Other services @ http://my.co.ke
--
www.golavish.com - The travel and leisure
www.raccuddasys.com - code Development issues
_______________________________________________
Skunkworks mailing list
Skunkworks@lists.my.co.ke
------------
List info, subscribe/unsubscribe
http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
------------
Skunkworks Rules
http://my.co.ke/phpbb/viewtopic.php?f=24&t=94
------------
Other services @ http://my.co.ke