From: | "Duncan Adams (DNS)" <duncan(dot)adams(at)vcontractor(dot)co(dot)za> |
---|---|
To: | "PostgreSQL Mailing List" <pgsql-php(at)postgresql(dot)org> |
Subject: | Re: [OT] PHP for ASP programmers |
Date: | 2003-02-03 13:01:57 |
Message-ID: | 034A824BAA3FBA4CA0CBEF1031A02F3519F24E@zablv02001.vodacom.corp |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)familyhealth(dot)com(dot)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(at)postgresql(dot)org)
From | Date | Subject | |
---|---|---|---|
Next Message | Matthew Horoschun | 2003-02-03 14:30:30 | Re: what do I wrong??? |
Previous Message | Christopher Kings-Lynne | 2003-02-03 12:45:12 | Re: [OT] PHP for ASP programmers |