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

Re: RedirectING (asp) by PHP?

From: "David Busby" <busby(at)pnts(dot)com>
To: "esrefatak" <esrefatak(at)hotmail(dot)com>, <pgsql-php(at)postgresql(dot)org>
Subject: Re: RedirectING (asp) by PHP?
Date: 2003-07-30 17:29:21
Message-ID: 003f01c356c0$1cb7c120$1100000a@busbydev (view raw, whole thread or download thread mbox)
Lists: pgsql-php
I use this

// redirect ***************************************************************
// Redirects to relative URL
function redirect($to)
  $schema = $_SERVER['SERVER_PORT']=='443'?'https':'http';
  $host =
  if (headers_sent()) return false;
    header("Location: $schema://$host$to");

----- Original Message ----- 
From: "esrefatak" <esrefatak(at)hotmail(dot)com>
To: <pgsql-php(at)postgresql(dot)org>
Sent: Wednesday, July 30, 2003 03:34
Subject: [PHP] RedirectING (asp) by PHP?


"redirect" command in PHP?

In response to

pgsql-php by date

Next:From: Lynna LandstreetDate: 2003-08-02 00:14:54
Subject: Resultset/array issues
Previous:From: esrefatakDate: 2003-07-30 11:35:41
Subject: Re: RedirectING (asp) by PHP?

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