if you're trying to redirect with something like header, then you need
to do that redirection before any output is sent to the browser...(note,
ANY output, likes SPACES)
look at www.php.net/header if you're interested...
jack
Justin French wrote:
hi, i'm in the body of a html page, and I'd
On Tuesday 03 April 2001 08:22, you wrote:
hi, i'm in the body of a html page, and I'd like to
redirect to a new URL in an if() statement.
I *could* re-write the whole page so that the test
is in the head, and use meta tags to refresh, but
i'd rather not... the code will be heaps cleaner
Christian Reiniger wrote:
(1) Open a telepatic connection to the users browser and appeal to its
sense of duty to go to the new page
that sounds about as reliable as javascript :P
(2) Rewrite the thing
looks like that'll be the case
(3) Use output buffering
huh? appreciate mroe on
On 3 Apr 2001 06:26:47 -0700, Justin French [EMAIL PROTECTED] wrote:
(3) Use output buffering
huh? appreciate mroe on this...
put ob_start() at the top of your page and ob_end_flush() at the bottom. PHP
will store all of the output instead of sending it to the browser. If you put a
4 matches
Mail list logo