Not sure if this will help, but if you are not needing to POST any data to the page you are requesting the HTML from you could also use the file_get_contents function.
$html = file_get_contents('www.google.com');
Then the HTML for that site will be stored as text in the $html variable.
Addendum:
I have tested the following code and both methods are working:
<?php
## Define url to grab
$url = 'http://www.lolnexus.com';
## Method 1: simple file_get_contents
$html = file_get_contents($url);
## Method 2: using cURL
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_HEADER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
$html = curl_exec($ch);
## Write output to file.
$fh = fopen('html_output.txt', 'w') or die("can't open file");
fwrite($fh, $html);
fclose($fh);
## Output something to the page.
echo 'Done!';
?>
Note that when using the cURL method ommitting the CURLOPT_FOLLOWLOCATION or setting it to FALSE results in getting the redirect message. oh and comment out method 1 or method 2 depending on which one you want to test.