destination URL

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
stak
Forum Newbie
Posts: 1
Joined: Thu Mar 02, 2006 5:04 am

destination URL

Post 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.
User avatar
itsmani1
Forum Regular
Posts: 791
Joined: Mon Sep 29, 2003 2:26 am
Location: Islamabad Pakistan
Contact:

Post by itsmani1 »

question is not clear
can put your question more clearly?
User avatar
shiznatix
DevNet Master
Posts: 2745
Joined: Tue Dec 28, 2004 5:57 pm
Location: Tallinn, Estonia
Contact:

Post 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()
Post Reply