Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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

pgsql-php by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group