Re: How to use file() function with an "HTTPS:\\www.example.com"
| From: | Daniel Souza | Date: | Fri, 19 Sep 2003 02:33:29 +0000 |
| Subject: | Re: How to use file() function with an "HTTPS:\\www.example.com" | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-163084@lists.php.net to get a copy of this message | ||
Recompile php with built-in openssl support (--with-openssl) will do that.
[]'s
Daniel Souza
"Rodrigo Nakahodo" <rodrigo.nakahodo@dhweb.com.br> escreveu na mensagem
news:CDEHLLEHEALJLBPKANBGGEOACAAA.rodrigo.nakahodo@dhweb.com.br...
> 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