Re: SSL Connection causes data errors.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux