[snip]
I am new to PHP; using Apache 2.2 and PHP 5/Windows. I'd like to do
this:
$x = file_get_contents(https://user:[EMAIL PROTECTED])
I get:
Warning: file_get_contents(https://...) [function.file-get-contents]:
failed to open stream: Invalid argument in ... on line...
[/snip]
The warning
Thanks, Jay.
I tried it first with a simple http://; call, and that worked fine. So
unless https:... requires something additional in the way of
arguments, that doesn't seem to be the issue.
I'm hoping someone who has done this remembers what special installation
issues there might be. When
On 5/31/07, Stut [EMAIL PROTECTED] wrote:
Bob Hanson wrote:
Thanks, Jay.
I tried it first with a simple http://; call, and that worked fine. So
unless https:... requires something additional in the way of
arguments, that doesn't seem to be the issue.
I'm hoping someone who has done this
Bob Hanson wrote:
Thanks, Jay.
I tried it first with a simple http://; call, and that worked fine. So
unless https:... requires something additional in the way of
arguments, that doesn't seem to be the issue.
I'm hoping someone who has done this remembers what special installation
issues
Problem solved. Thank you all very much for such quick responses.
The solution was to get ssleay32.dll from the PHP 5 ZIP distribution and
put in my PHP directory.
For the record:
With Windows and PHP 5 all that is needed to use the https protocol in
file_get_contents is to make sure that
5 matches
Mail list logo