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.
destination URL
Moderator: General Moderators
- shiznatix
- DevNet Master
- Posts: 2745
- Joined: Tue Dec 28, 2004 5:57 pm
- Location: Tallinn, Estonia
- Contact:
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()