etrader Posted January 31, 2011 Share Posted January 31, 2011 Is there a way to catch the target of a redirecting url? For example, http://tinyurl.com/KindleWireless redirects to http://www.amazon.com/Kindle-Wireless-Reading-Display-Globa lly/dp/B003FSUDM4/ref=amb_link_353259562_2?pf_rd_m=ATVPDKIK X0DER&pf_rd_s=center-10&pf_rd_r=11EYKTN682A79T370AM3&pf_rd_ t=201&pf_rd_p=1270985982&pf_rd_i=B002Y27P3M How to catch the final url in php and echo it as a string? Link to comment https://forums.phpfreaks.com/topic/226218-discovering-a-redirecting-url-like-tinyurl/ Share on other sites More sharing options...
RichardRotterdam Posted January 31, 2011 Share Posted January 31, 2011 you could try cURL I think Link to comment https://forums.phpfreaks.com/topic/226218-discovering-a-redirecting-url-like-tinyurl/#findComment-1167773 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.