A tutorial on how to use a proxy with cURL. It also covers using random proxies stored in a text file with cURL requests.
Read this post on altafphp.blogspot.com