Page 1 of 1

destination URL

Posted: Thu Mar 02, 2006 5:07 am
by stak
i am trying to write a script that takes in a list of URLs and finds their destination URL. I.e.

if i have a URL http://www.abc.com this might link to http://www.xyz.com and i want to display this information.

Is this possible/how would one go about doing this?

Thanks for any help.

Posted: Thu Mar 02, 2006 6:03 am
by itsmani1
question is not clear
can put your question more clearly?

Posted: Thu Mar 02, 2006 6:55 am
by shiznatix
like if you go to http://www.abc.com and then you get redirected to http://www.xyz.com? So you want to know that you ended up on http://www.xyz.com right? you can do this with cURL()