Re: [PHP] How to use file() function with an HTTPS:\\www.example.com
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 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
RE: [PHP] How to use file() function with an HTTPS:\\www.example.com
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
RE: [PHP] How to use file() function with an HTTPS:\\www.example.com
[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