fsockopen() and garbage http footer.
| From: | moshe doron | Date: | Sun, 19 Nov 2000 17:16:07 +0000 |
| Subject: | fsockopen() and garbage http footer. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-26141@lists.php.net to get a copy of this message | ||
hi.
times when i use the fsockopen() for getting html pages from the net, i get
on the end of some tcp packets, numbers thats the browser "know" dont to
show them as part of the document, so i guess, its part of the http, (or
maybe tcp) layer.
what is the exect use of those garbage, and how can i auto remove them from
the result of the fsockopen() for getting only the HTML layer no the HTTP
one.
thanks
--
moshe.
mosdoron@netvision.net.il
icq: 1542485