From: Bruno Wolff III <bruno@wolff.to>
To: Ludwig Lim <lud_nowhere_man@yahoo.com>
Cc: PostgreSQL Mailing List <pgsql-php@postgresql.org>
Subject: Re: [OT] PHP for ASP programmers
Date: Mon, 3 Feb 2003 11:44:20 -0600
Message-ID: <20030203174420.GA29329@wolff.to> (raw)
In-Reply-To: <20030203101639.37906.qmail@web80311.mail.yahoo.com>
References: <20030203101639.37906.qmail@web80311.mail.yahoo.com>
On Mon, Feb 03, 2003 at 02:16:39 -0800,
Ludwig Lim <lud_nowhere_man@yahoo.com> wrote:
>
> How does one "redirect" in PHP. I've use
> combination of echo and META tags, but I'm not sure if
> this is the standard practice for PHP programmers.
Using a meta-refresh header in html to do redirection isn't a good idea. The
correct way is to use a location header in the response and an appropiate
response code (indication if the redirection is temporary or permanent).
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: bruno@wolff.to, lud_nowhere_man@yahoo.com
Subject: Re: [OT] PHP for ASP programmers
In-Reply-To: <20030203174420.GA29329@wolff.to>
References: <20030203101639.37906.qmail@web80311.mail.yahoo.com> <20030203174420.GA29329@wolff.to>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox