curl

Following redirects with Curl in PHP.

I might want to do some behind-the-scenes redirection-following as part of the SSO work I do.

How To Make HTTP Requests with WordPress « planetOzh
How to include a remote file using php if fopen_allow_url is not allowed? – Yahoo! Answers

This answer is really helpful, and I particularly appreciate that it covers how to test for cURL.