> 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";
>  }

My interpretation of the manual page
(http://us3.php.net/manual/en/function.file.php) is as follows:
1.) you need fopen_wrappers enabled
2.) https is only available in versions >= 4.3.0

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to