Re: [OT] PHP for ASP programmers - Mailing list pgsql-php

From Duncan Adams (DNS)
Subject Re: [OT] PHP for ASP programmers
Date
Msg-id 034A824BAA3FBA4CA0CBEF1031A02F3519F24E@zablv02001.vodacom.corp
Whole thread Raw
In response to [OT] PHP for ASP programmers  (Ludwig Lim <lud_nowhere_man@yahoo.com>)
List pgsql-php
remember that u can have nothing exported (not even a space) to the web browser or u will get an error "header already
send".

if u need to redirect after sending some thing to the browser i use (don't know any other way) javascript

window.location.href('<url>');

-----Original Message-----
From: Christopher Kings-Lynne [mailto:chriskl@familyhealth.com.au]
Sent: Monday, February 03, 2003 2:45 PM
To: Ludwig Lim
Cc: PostgreSQL Mailing List
Subject: Re: [PHP] [OT] PHP for ASP programmers


You go:

header("Location: www.postgresql.org");
exit;

Chris

On Mon, 3 Feb 2003, 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.
>
> Thank you very much,
> ludwig.
>
> __________________________________________________
> Do you Yahoo!?
> New DSL Internet Access from SBC & Yahoo!
> http://sbc.yahoo.com
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html
>


---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
    (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)

pgsql-php by date:

Previous
From: Christopher Kings-Lynne
Date:
Subject: Re: [OT] PHP for ASP programmers
Next
From: Matthew Horoschun
Date:
Subject: Re: what do I wrong???