Well, if I ommits the s in https it works
I have (with success) tried:
$filename="http://www.google.com/";
$fp = fopen($filename, "r");
$cont = fread($fp,10000);
fclose($fp);
echo $cont;
But when I change $filename to:
$filename="https://www.google.com/accounts/";
it complains
Warning: fopen("https://www.google.com/accounts/", "r") - Invalid argument in c:\apache\apache\htdocs\test.php on line 4
Warning: fread(): supplied argument is not a valid File-Handle resource in c:\apache\apache\htdocs\test.php on line 5
Warning: fclose(): supplied argument is not a valid File-Handle resource in c:\apache\apache\htdocs\test.php on line 6