[eluser]toopay[/eluser]
Have you try my Proxy library? ;-), look at my signature.
You can use it like :
Code:
$this->load->library('proxy');
// If you want to save the result into variable, use FALSE as second argument or leave it blank
$this->proxy->crawl('ellislab.com/forums',TRUE);