Getting https-page
| From: | Martin Thoma | Date: | Mon, 20 Jan 2003 14:46:36 +0000 |
| Subject: | Getting https-page | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-132243@lists.php.net to get a copy of this message | ||
Hello!
You can easily get an webpage with:
$fp = fopen("http://www.mydomain.com/",
"r");
if ($fp) exit;
while(!feof($fp))
{ $line .= fgets($fp, 4096);
}
fclose($fp);
print $line;
But this doesn't work with https (SSL). How can I get an https-page?
Martin