php & ajax

This is a discussion on php & ajax within the PHP Language forums, part of the PHP Programming Forums category; I wanted to redirect to another page if login info is valid i m using php and ajax...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-19-2007
onlysaket@gmail.com
 
Posts: n/a
Default php & ajax

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

Reply With Quote
  #2 (permalink)  
Old 09-19-2007
Erwin Moller
 
Posts: n/a
Default Re: php & ajax

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?
Reply With Quote
  #3 (permalink)  
Old 09-19-2007
Matt White
 
Posts: n/a
Default Re: php & ajax

On Sep 19, 8:57 am, "onlysa...@gmail.com" <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");
}

Reply With Quote
  #4 (permalink)  
Old 09-19-2007
Shelly
 
Posts: n/a
Default Re: php & ajax


"Erwin Moller"
<Since_humans_read_this_I_am_spammed_too_much@spam yourself.com> 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


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 08:01 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0