* Thus wrote Pablo Gosse: > 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);
http://php.net/wrappers.http <warning> When using SSL, Microsoft IIS will violate the protocol by closing the connection without sending a close_notify indicator. PHP will report this as "SSL: Fatal Protocol Error" when you reach the end of the data..... </warning> Curt -- First, let me assure you that this is not one of those shady pyramid schemes you've been hearing about. No, sir. Our model is the trapezoid! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php