Recompile php with built-in openssl support (--with-openssl) will do that.
[]'s
Daniel Souza
"Jay Blanchard" <[EMAIL PROTECTED]> escreveu na mensagem
news:[EMAIL PROTECTED]
[snip]
How to use file() function with an "HTTPS:\\www.example.com"
[/snip]
Use cURL http://www.php.net/curl because you
[snip]
How to use file() function with an "HTTPS:\\www.example.com"
[/snip]
Use cURL http://www.php.net/curl because you will have to login to the
https: location first, before you can use file()
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> How to use file() function with an "HTTPS:\\www.example.com"
>
>
> $lines = file ('https://www.example.com/');
>
> foreach ($lines as $line_num => $line) {
> echo "Line #{$line_num} : " . htmlspecialchars($line)
> . "\n";
> }
My interpretation of the manual page
(http://us3.php.net/manua
How to use file() function with an "HTTPS:\\www.example.com"
https://www.example.com/');
foreach ($lines as $line_num => $line) {
echo "Line #{$line_num} : " . htmlspecialchars($line) . "\n";
}
?>
Thanks a million!
Rodrigo Nakahodo
---
Outgoing mail is certified Virus Free.
Checked by AV
4 matches
Mail list logo