file_get_contents and https
- From: hansonr@xxxxxxxxxx (Bob Hanson)
- Date: Thu, 31 May 2007 07:50:55 -0500
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:pw@xxxxxxx")
I get:
Warning: file_get_contents(https://...) [function.file-get-contents]: failed to open stream: Invalid argument in ... on line...
I think I have the following correct:
1) I have php_openssl.dll present and indicated as an extension in the ext directory
2) libeay32.dll is on the Windows path
What more do I need to do?
Thanks,
Bob Hanson
--
Robert M. Hanson
Professor of Chemistry
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr
If nature does not answer first what we want,
it is better to take what answer we get.
-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
.
- Follow-Ups:
- RE: [PHP] file_get_contents and https
- From: "Jay Blanchard"
- RE: [PHP] file_get_contents and https
- Prev by Date: Re: Re: Re: Re: preg_match() returns false but no documentation why
- Next by Date: Re: local v remote
- Previous by thread: Removing PHPSESSID - CGI Install
- Next by thread: RE: [PHP] file_get_contents and https
- Index(es):
Relevant Pages
|