From: Andrew McMillan <andrew@catalyst.net.nz>
To: Ludwig Lim <lud_nowhere_man@yahoo.com>
Cc: PostgreSQL Mailing List <pgsql-php@postgresql.org>
Subject: Re: [OT] PHP for ASP programmers
Date: 03 Feb 2003 23:43:04 +1300
Message-ID: <1044268984.17709.155.camel@kant.mcmillan.net.nz> (raw)
In-Reply-To: <20030203101639.37906.qmail@web80311.mail.yahoo.com>
References: <20030203101639.37906.qmail@web80311.mail.yahoo.com>
On Mon, 2003-02-03 at 23:16, Ludwig Lim wrote:
> Hi:
>
> Does any one know of sites that show equivalent PHP
> function for their ASP counterparts? I've tried
> searching google but I could not find any.
>
> 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.
I don't know about ASP -> PHP, sorry.
I redirect in PHP as:
header( "Location: http://some.other.website/page"; );
I had to abuse one of our younger programmers recently for using
redirects as if they were GOTO's - I sincerely hope you're not going to
do that with it :-)
Cheers,
Andrew.
--
---------------------------------------------------------------------
Andrew @ Catalyst .Net.NZ Ltd, PO Box 11-053, Manners St, Wellington
WEB: http://catalyst.net.nz/ PHYS: Level 2, 150-154 Willis St
DDI: +64(4)916-7201 MOB: +64(21)635-694 OFFICE: +64(4)499-2267
Survey for nothing with http://survey.net.nz/
---------------------------------------------------------------------
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: andrew@catalyst.net.nz, lud_nowhere_man@yahoo.com
Subject: Re: [OT] PHP for ASP programmers
In-Reply-To: <1044268984.17709.155.camel@kant.mcmillan.net.nz>
References: <20030203101639.37906.qmail@web80311.mail.yahoo.com> <1044268984.17709.155.camel@kant.mcmillan.net.nz>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox