I am attempting to download file from a website with a given url. This url will then redirect me to an open site.
The rest is pretty much simple, but how can I get PHP to report the redirect url that was sent to be.
I answered my own question. I opened the url in question with socket open to display the page which would then display the next (Referred) location.
redirect 302 redirects