SaRiD
Programmer
- Apr 19, 2003
- 45
Hi
I am entering a url in php to capture the html code on that page.
This is working fine.
However, on some sites there is a redirect in place which returns a different page. How do I capture the full URL of the page that I was redirected to?
E.g. I entered " but the server redirected me to " and returned the html on that page. How can I find out what the URL of the page I was redirected to.
Make sense?
I am entering a url in php to capture the html code on that page.
This is working fine.
However, on some sites there is a redirect in place which returns a different page. How do I capture the full URL of the page that I was redirected to?
E.g. I entered " but the server redirected me to " and returned the html on that page. How can I find out what the URL of the page I was redirected to.
Make sense?