bloodfire Posted January 18, 2009 Share Posted January 18, 2009 Anyone have an idea on how to simply get the actual address of the redirect address? eg. The code read this http://feeds.bignewsnetwork.com/?rid=21117160&cat=1948b3b9eadbd541 Then it shows this http://www.bt.com.bn/en/home_news/2009/01/14/hm_calls_for_effective_zakat_distribution which is the actual address. Link to comment https://forums.phpfreaks.com/topic/141301-getting-the-last-url-of-a-redirect-address/ Share on other sites More sharing options...
trq Posted January 18, 2009 Share Posted January 18, 2009 We need more information. How are these addresses being redirected? Link to comment https://forums.phpfreaks.com/topic/141301-getting-the-last-url-of-a-redirect-address/#findComment-739573 Share on other sites More sharing options...
bloodfire Posted January 19, 2009 Author Share Posted January 19, 2009 We need more information. How are these addresses being redirected? Well, I have no idea how the addresses are being redirected indepth. Basically, I think it just forward to the original link. I just want to create a script to follow the redirected link and when it reached the last link where it displays the webpage, from there it grabs the original address of the webpage. I was thinking of using php Curl, however, if someone knows an alternative method will also be appreciated. Link to comment https://forums.phpfreaks.com/topic/141301-getting-the-last-url-of-a-redirect-address/#findComment-740189 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.