Hello,
On 08/26/2004 06:40 PM, Pablo Gosse wrote:
Hi folks. I'm getting the following error when attempting to use PEAR::HTTP_Request to check the existence of a file.
It's throwing an error from fread on an https stream:
Warning: fread(): SSL: fatal protocol error in /u0/local/lib/php/Net/Socket.php on line 263
Line 263 is as follows:
return fread($this->fp, $size);
My PHP version is 4.3.4, and it's compiled with openssl, so I can't see why this is throwing an error since according to the docs as long as openssl is compiled https is supported.
I suspect that you do not have OpenSSL support enabled in your configuration.
Anyway, you may want to try this other class that can use Curl instead of PHP SSL support to access SSL HTTP servers:
http://www.phpclasses.org/httpclient
--
Regards, Manuel Lemos
PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/
PHP Reviews - Reviews of PHP books and other products http://www.phpclasses.org/reviews/
Metastorage - Data object relational mapping layer generator http://www.meta-language.net/metastorage.html
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php