View Single Post
Old Nov 12th, 2006, 2:34 PM   #2
Arevos
Programming Guru
 
Arevos's Avatar
 
Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5 Arevos is on a distinguished road
One would have to open up a HTTP connection to the URL, and then get the value of the redirect. PHP has some HTTP handling functions, and it's sometimes compiled with CURL, which might be easier. I suspect it would just be a case of parsing out the right header, or having a library follow the link and see where it goes.
Arevos is offline   Reply With Quote