Re: [OT] PHP for ASP programmers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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


[Index of Archives]     [Postgresql General]     [Postgresql Admin]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Backpacking]     [Postgresql Jobs]

  Powered by Linux