Re: SSL Connection causes data errors.

From: Date: Sat, 23 Sep 2006 00:24:58 +0000
Subject: Re: SSL Connection causes data errors.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-242117@lists.php.net to get a copy of this message
On Mon, September 18, 2006 5:33 pm, Stefan wrote: > I was wondering if anyone has experienced this before. > I am connecting to an IIS server over HTTPS using > pfsockopen and am getting xml data returned. Now when > I open the URL in a browser the XML is returned fine > without a problem. However when using PHP part of the > XML is all messed up, data is moved around it appears > and it messes up the XML. > > I am getting an error at the end of my request to the > server: > > PHP Warning: fread(): SSL: fatal protocol error in > .... > > However from what I read that error deals with the > closing of the connection. Any help would be very > appreciated. I seem to recall some kinda note in php.net about IIS brokenness in connection closing of HTTPS... Maybe in "curl"? And, actually, you may want to just try using PHP curl to get it, instead of micro-managing the reading with pfsockopen... -- Like Music? http://l-i-e.com/artists.htm

« previous php.general (#242117) next »