Re: [PHP] file_get_contents and https



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 both

libeay32.dll
ssleay32.dll

are on the Windows path, which in my case includes the path to my PHP directory, so I just put them there.

Excellent! Many thanks.

Bob Hanson
.



Relevant Pages

  • RE : [PHP] Still problem with file reading
    ... You cite a windows path to your txt file.I warn you that you need to write c:\ as c:/, because the \ is the escapechar into a string ... I'm learning PHP by a book and I have a whole section ... the permissions model in Windows changes with every ...
    (php.general)
  • Re: Apache 2.0.54, Windows 2k, and php5.0.5 - do the work together
    ... but did you restart apache after installing ... PHP? ... And did you put php.ini in C:\windows or winnt or whatever your ... windows path is? ...
    (comp.lang.php)
  • Re: ldap support
    ... the windows path? ... >>I would like to install ldap support on php! ... > Then restart Apache. ...
    (comp.lang.php)
  • Re: How do I know PHP runs?
    ... > I know I have to do some alterations, with the most impoartant being to ... > add php to the windows path. ... It must be defined in the Windows path which is part of the environment ... Are you trying to run your PHP scripts in CLI mode or web server mode? ...
    (comp.lang.php)
  • undefined function mysql_connect
    ... I try to query a database from PHP, I get the infamous "Call to undefined ... in turn is mentioned in the Windows PATH. ... What am I missing here? ...
    (comp.lang.php)