another url redirection question<

liunx

Guest
Hi,

Is there any way I can redirect two urls in a row using php?
I mean, I want php code to be redirected to "www.yahoo.com" at first, and then to "www.msn.com".

If I use header(), it just redirects to that url and the code below do not be executed.

I want the final destination to be the second url, but I like to make sure that it's hitting the first url fist. Is there any way I can do that?

Any help or suggestion is greatly appreciated.

Thanks in advance.no, once it gets redirected then it leaves your site, so how is it going to read the second redirect? it can't since it is not on your code anymore.You could make something with frames. That's only the real solution you got to your problem.or you could always stay on your page but display using php function the content of the other web page... fopen and allBe aware that the framing of content from other sites can have copyright implications.
 
Back
Top