regardless...

i've tried to resolve my issue using the buffering functions and still get the 
same error...

if someone wants to look/examine my code, i'm more than willing to let you see 
it... it's a test app so there's nothing of critical importance.

-bruce


-----Original Message-----
From: Jasper Bryant-Greene [mailto:[EMAIL PROTECTED]
Sent: Sunday, September 18, 2005 6:03 PM
To: php-general@lists.php.net
Subject: Re: [PHP] Re: headers .vs javascript location.href


Tim Van Wassenhove wrote:
> On 2005-09-17, "bruce" <[EMAIL PROTECTED]> wrote:
> 
>>need to talk to someone to figure out how/what i need to do to use the php
>>'headers' function, as opposed to the javascript 'location.href'.
>>
>>i've tried to implement the buffering functions, but still get the same
>>error...
> 
> 
> Now, if you read the documentation of output buffering you will see that
> it does *not* buffer headers..
> 

That's kind of the point. Headers must be sent before any other output, 
and output buffering stops that output from being sent until the very 
end of the script (unless you call ob_end_flush() first). So output 
buffering allows you to send headers at any time in your script.

-- 
Jasper Bryant-Greene
Freelance web developer
http://jasper.bryant-greene.name/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to