Re: Re: headers .vs javascript location.href

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

 



----- Original Message ----- From: "bruce" <bedouglas@xxxxxxxxxxxxx> To: "'Jasper Bryant-Greene'" <jasper@xxxxxxxxxxxxxxxxxx>; <php-general@xxxxxxxxxxxxx>
Sent: Monday, September 19, 2005 6:14 AM
Subject: RE:  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@xxxxxxxxxxxxxxxxxx]
Sent: Sunday, September 18, 2005 6:03 PM
To: php-general@xxxxxxxxxxxxx
Subject: Re:  Re: headers .vs javascript location.href


Tim Van Wassenhove wrote:
On 2005-09-17, "bruce" <bedouglas@xxxxxxxxxxxxx> 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



--
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/

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux