I have a page that sends a request to another PHP page on my site.
If I try and set the header in the page that is being called, with
header(Location : ...), the site doesn't get redirected like I'd like it
to, it just writes a response to the original page. The response that
it writes is the HTML of the page that I'd like the site to be
redirected to.
Is there a way that I can redirect from the script that is being called
through an xmlRequest?
Thanks a lot for any help.
If I try and set the header in the page that is being called, with
header(Location : ...), the site doesn't get redirected like I'd like it
to, it just writes a response to the original page. The response that
it writes is the HTML of the page that I'd like the site to be
redirected to.
Is there a way that I can redirect from the script that is being called
through an xmlRequest?
Thanks a lot for any help.
Comment