samedi 23 janvier 2021

How to download an entire page (html, images, css etc.) with php?

I need to write a script that will download an entire page for offline view, however I can't figure out a way to do it.

People in similar threads have responded mostly with the following 2 answers:

    1. Use wget, I tried this one but for some reason it is abysmally slow (10kb/s), so it is not usable.
    1. Use cURL, However I couldn't find a tutorial/explanation on how exactly to use this tool to download the page.

Any help is much appreciated :)




Aucun commentaire:

Enregistrer un commentaire