NYCPHP Meetup

NYPHP.org

[nycphp-talk] SSL Connection causes data errors.

Stefan KLOPP.GEO at YAHOO.COM
Tue Sep 19 12:35:25 EDT 2006


OK I checked the response and it is not chunked. Most
of the XML being returned is actually fine, it is just
in certain spots data in in the wrong place. Here is
the header information from the IIS server if that
helps at all:

HTTP/1.1 200 OK
Connection: close
Date: Tue, 19 Sep 2006 16:36:59 GMT
Server: Microsoft-IIS/6.0
Content-Type:text/html
Content-Length: 5609


--- csnyder <chsnyder at gmail.com> wrote:

> 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/
> _______________________________________________
> New York PHP Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
> 
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
> 
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the talk mailing list