X-Original-To: pgsql-php@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id A7C79475E30 for ; Mon, 3 Feb 2003 12:31:16 -0500 (EST) Received: from wolff.to (wolff.to [66.93.249.74]) by postgresql.org (Postfix) with SMTP id D8BD3475E26 for ; Mon, 3 Feb 2003 12:31:15 -0500 (EST) Received: (qmail 29417 invoked by uid 500); 3 Feb 2003 17:44:20 -0000 Date: Mon, 3 Feb 2003 11:44:20 -0600 From: Bruno Wolff III To: Ludwig Lim Cc: PostgreSQL Mailing List Subject: Re: [OT] PHP for ASP programmers Message-ID: <20030203174420.GA29329@wolff.to> Mail-Followup-To: Ludwig Lim , PostgreSQL Mailing List References: <20030203101639.37906.qmail@web80311.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030203101639.37906.qmail@web80311.mail.yahoo.com> User-Agent: Mutt/1.3.25i X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200302/12 X-Sequence-Number: 1863 On Mon, Feb 03, 2003 at 02:16:39 -0800, Ludwig Lim 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).