"go.php");
> exit;
> } else {
> include ("error.php");
> exit;
> }
> }
>
>
>
>
> Dan
> -Original Message-
> From: Brian Feliciano [mailto:[EMAIL PROTECTED]]
> Sent: Friday, October 12, 2001 9:09 AM
> To: Sichta Daniel; [EMAIL PR
Hi Brian,
u must use header() function before you output any contents to client
browser, and terminate ur script immediately after using it.
--
regards,
chen wei (http://www.cw213.net)
===
Solutions Developer of Earth9.com
===
F
okay, this is what i want to do.
i have a login.php that asks the user to login.
and then if the login was successful the user will "redirected" to my
main.php.
and also if the user is already logged and went to my index.php, he will be
redirected immediately to main.php
i tried to do header("Loc
8:39 AM
> To: Ignatius Teo; [EMAIL PROTECTED]
> Subject: Re: [PHP-WIN] php question
>
>
> thanks Ig!
> is there a better way than this? What i am doing is a login page.
> if the login is a success, then i will redirect it to the inside pages.
>
> thanx!
iano" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, October 12, 2001 4:30 PM
> Subject: [PHP-WIN] php question
>
>
> > ive been using ASP and now i'dlike to try PHP.
> > But i cant seem find the counterpart of response.redirect to the
Hi Brian,
response.redirect actually just works like meta refresh, u can do it the
same using header() in php.
--
regards,
chen wei (http://www.cw213.net)
===
Solutions Developer of Earth9.com
===
Friday, October 12, 2001, 2:30:
ive been using ASP and now i'dlike to try PHP.
But i cant seem find the counterpart of response.redirect to the PHP
language.
Pls. help. thanks.
--
B R I A NF E L I C I A N O
==
Server Administrator
The Websense Group Co.
-
Unit 103