fopen(), fsockopen() problems over https... curl problem..
Posted: Thu Mar 27, 2003 1:21 am
hi everybody...
i've been trying to use unsuccessfully fopen() and fsockopen() over https for the last 3 days. they work fine over http but if i use https (fopen()) or ssl:// (fsockopen()) i get errors - like there is not such file or directory and the only difference is the "s" after the http.
i have openssl compiled in php 4.3.1. according to the documentation on php.net it should work fine...
i can get the file through curl but the curl output is a string and not a stream as fopen() or fsockopen(). i even tried output buffering - but that returns string too....
how can i convert a string to a stream?
i'm desperate to find a solution for this problems and really need one. i'll appreciate any suggestion or help....
thank you...
i've been trying to use unsuccessfully fopen() and fsockopen() over https for the last 3 days. they work fine over http but if i use https (fopen()) or ssl:// (fsockopen()) i get errors - like there is not such file or directory and the only difference is the "s" after the http.
i have openssl compiled in php 4.3.1. according to the documentation on php.net it should work fine...
i can get the file through curl but the curl output is a string and not a stream as fopen() or fsockopen(). i even tried output buffering - but that returns string too....
how can i convert a string to a stream?
i'm desperate to find a solution for this problems and really need one. i'll appreciate any suggestion or help....
thank you...