I know how to get the html source code via cUrl, but I want to remove the comments on the html document (I mean what is between <!-- .. -->). In addition, if I can take just the BODY of the html document. thank you.
I know how to get the html source code via cUrl, but I want
Share
Try PHP DOM*:
Output: