Re: [OT] PHP for ASP programmers

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: Ludwig Lim <lud_nowhere_man(at)yahoo(dot)com>
Cc: PostgreSQL Mailing List <pgsql-php(at)postgresql(dot)org>
Subject: Re: [OT] PHP for ASP programmers
Date: 2003-02-03 17:44:20
Message-ID: 20030203174420.GA29329@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

On Mon, Feb 03, 2003 at 02:16:39 -0800,
Ludwig Lim <lud_nowhere_man(at)yahoo(dot)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).

In response to

Browse pgsql-php by date

  From Date Subject
Next Message Steve Crawford 2003-02-03 18:45:26 Re: [OT] PHP for ASP programmers
Previous Message Zak Greant 2003-02-03 15:59:59 Re: [OT] PHP for ASP programmers