jeudi 1 août 2019

PHP: download complete html code from url (with closed tags) [duplicate]

This question already has an answer here:

My problem is, that I want to download the html source code from url to a string or a file (that does not matter). I tried that with the "file_get_contents()" function, but when I try this, I am just getting parts of the code... There is a tag, which I can expand, but in code the tag is closed. How can I get this closed tag?




Aucun commentaire:

Enregistrer un commentaire