How to use file() function with an "HTTPS:\\www.example.com"
| From: | Rodrigo Nakahodo | Date: | Wed, 17 Sep 2003 18:43:42 +0000 |
| Subject: | How to use file() function with an "HTTPS:\\www.example.com" | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-162908@lists.php.net to get a copy of this message | ||
How to use file() function with an "HTTPS:\\www.example.com"
<?php
$lines = file ('https://www.example.com/');
foreach ($lines as $line_num => $line) {
echo "Line #<b>{$line_num}</b> : " . htmlspecialchars($line) .
"<br>\n";
}
?>
Thanks a million!
Rodrigo Nakahodo
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.518 / Virus Database: 316 - Release Date: 9/11/2003