php & ajax

php & ajax

am 19.09.2007 16:57:05 von onlysaket

I wanted to redirect to another page if login info is valid i m using
php and ajax

Re: php & ajax

am 19.09.2007 16:58:13 von Erwin Moller

onlysaket@gmail.com wrote:
> I wanted to redirect to another page if login info is valid i m using
> php and ajax
>

Is that a question or a broken posting?

Re: php & ajax

am 19.09.2007 17:04:25 von Matt White

On Sep 19, 8:57 am, "onlysa...@gmail.com" wrote:
> I wanted to redirect to another page if login info is valid i m using
> php and ajax

You can use:
if(loginInfoValid) {
header("Location: page.php");
}

Re: php & ajax

am 19.09.2007 17:06:51 von Shelly

"Erwin Moller"
wrote in
message news:46f13989$0$229$e4fe514c@news.xs4all.nl...
> onlysaket@gmail.com wrote:
>> I wanted to redirect to another page if login info is valid i m using
>> php and ajax
>>
>
> Is that a question or a broken posting?

header("Location: goodloginpage.php");

Shelly