Re: Re: headers .vs javascript location.href
| From: | Gustav Wiberg | Date: | Mon, 19 Sep 2005 04:47:34 +0000 |
| Subject: | Re: Re: headers .vs javascript location.href | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-222628@lists.php.net to get a copy of this message | ||
----- Original Message ----- From: "bruce" <bedouglas@earthlink.net>
To: "'Jasper Bryant-Greene'" <jasper@bryant-greene.name>; <php-general@lists.php.net>
Sent: Monday, September 19, 2005 6:14 AM
Subject: RE: [PHP] Re: headers .vs javascript location.href
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:jasper@bryant-greene.name]
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" <bedouglas@earthlink.net> wrote: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 -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.11.1/104 - Release Date: 2005-09-16 Hi there! Send the code, and I'll have a look... :-) /G http://www.varupiraten.se/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..