NYCPHP Meetup

NYPHP.org

[nycphp-talk] SSL Connection causes data errors.

csnyder chsnyder at gmail.com
Mon Sep 18 20:53:58 EDT 2006


On 9/18/06, Stefan Klopp <KLOPP.GEO at yahoo.com> wrote:
> Hi,
>
> 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.

Could this be a chunked encoding problem? If IIS is returning the
response with Transfer-Encoding: chunked, you'll need to decode it.

See the discussion at http://php.net/fsockopen

-- 
Chris Snyder
http://chxo.com/



More information about the talk mailing list