I am reading in a web page with fopen/fread, then when I run strip tags on the string - I am left with only the Title text from the header.
Is there a better way to do this?
Is the html well formed ??
Your stripping ALL the tags from a page? What purpose will that serve...explain the end product and maybe there is a better way to do this.
Originally posted by RossC0 Is the html well formed ??
I think RossC0's right. If the page has a <body> tag, but no </body> tag I think it would do what you're describing.
turned out to be that I was reaching the end of the packet - I built a loop that fixed it.
Thanks!