Is there a way to get fsockopen to suppress the header information it returns. I have no use for the crap, have no idea how to use a regexp to get it out of there (nor does anyone on this list it would seem either).


I'd like to be able to grab a web page as it is presented to the browsers (as seen in view source).


HTTP/1.1 200 OK
Date: Tue, 22 Jul 2003 05:14:41 GMT
Server: Apache/1.3.27 (Unix) mod_jk/1.1.0 mod_ssl/2.8.12 OpenSSL/0.9.6g
Set-Cookie: JSESSIONID=jwjesefa81;Path=/Interface
Connection: close
Content-Type: text/html;charset=ISO-8859-1

The above crap needs to not be returned.

Any ideas?

Reply via email to