Re: [PHP-WIN] php question

2001-10-12 Thread Brian Feliciano
"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

Re: [PHP-WIN] php question

2001-10-11 Thread Brian Feliciano
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

Re: [PHP-WIN] php question

2001-10-11 Thread Brian Feliciano
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!

Re: [PHP-WIN] php question

2001-10-11 Thread Brian Feliciano
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! > header("location: http://mydomain.com/index.php";); > > > - Original Message - > From: "Brian Feliciano" <[EMAIL PROTECTED]> > To:

Re: [PHP-WIN] php question

2001-10-11 Thread Chen Wei, Lian
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: