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[2]: [PHP-WIN] php question

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

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
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

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:

[PHP-WIN] php question

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