Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- How to get the redirected URL?
June 22, 2007, 5:50 am
rate this thread
I have a bunch of URLs. They are all redirecting URLs: if you visit
any one of them, you will be redirected to another URL.
I want to know the redirected URL. How shall I do that? I think I
shall probably send a http request and capture its response and then
parse the response to get its real destination, don't I?
But how shall I implement it? Any sample code?