X-Original-To: pgsql-php@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id B937D475A37 for ; Mon, 3 Feb 2003 05:43:18 -0500 (EST) Received: from kant.catalyst.net.nz (203-79-123-35.adsl.paradise.net.nz [203.79.123.35]) by postgresql.org (Postfix) with ESMTP id DC77B4759BD for ; Mon, 3 Feb 2003 05:43:17 -0500 (EST) Received: from 127.0.0.1 (ident=unknown) by kant.catalyst.net.nz with esmtp (masqmail 0.2.16) id 18fe48-76e-00; Mon, 03 Feb 2003 23:43:04 +1300 Subject: Re: [OT] PHP for ASP programmers From: Andrew McMillan To: Ludwig Lim Cc: PostgreSQL Mailing List In-Reply-To: <20030203101639.37906.qmail@web80311.mail.yahoo.com> References: <20030203101639.37906.qmail@web80311.mail.yahoo.com> Content-Type: text/plain Organization: Message-Id: <1044268984.17709.155.camel@kant.mcmillan.net.nz> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.1 Date: 03 Feb 2003 23:43:04 +1300 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200302/6 X-Sequence-Number: 1857 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/ ---------------------------------------------------------------------