eduperez wrote:Well, you sketch is programmed to stop on the first ">" character it encounters; have a look at the source code for the web page that your PHP script produces, and see the ">" at the end of the DOCTYPE tag.
No, that's for search the ">" after sending the comand length.
I only request the page if ">" appears.