I've got a list of over 7000 redirects, like: http://domain.com/redirect.php?id=0001 http://domain.com/redirect.php?id=0002 etc. (also have this list in a PHP array) And I need to process this into a list of the actual destination url's (they're all different domains). I can't figure out how to do it. Anaybody have any tips?
Thank you, Ksamir. When I tried your code what happened was that my browser visited the first url in the array and stopped there. Now I still need to make it so that all urls are visited and stored, either in a database or an array. Any help is greatly appreciated!