Re: [OT] PHP for ASP programmers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxxxxxxxxxxxx]
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@xxxxxxxxxxxxxx)


[Index of Archives]     [Postgresql General]     [Postgresql Admin]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Backpacking]     [Postgresql Jobs]

  Powered by Linux