[PHP] Re: php/ajax question

2006-12-30 Thread tedd
At 1:30 AM +0500 12/31/06, Fahad Pervaiz wrote: When you use "HEADER()", an HTTP header is sent to client browser. So when using with an ajax call the header cannot redirect the page. For the purpose you have to use include or require. If you want to redirect client browser to some other locati

[PHP] Re: php/ajax question

2006-12-30 Thread Fahad Pervaiz
When you use "HEADER()", an HTTP header is sent to client browser. So when using with an ajax call the header cannot redirect the page. For the purpose you have to use include or require. If you want to redirect client browser to some other location then you can work around with javascripts. But