How to download a site in the form of html with pictures of css and js scripts? Then to push it into the site folder with the domain name www.com.
1 answer
Use programs like Teleport Pro (windows) or WebHTTrack (linux)
- Wait a minute Why did I put curl php in my notes? From shit? I clearly and clearly said that how to organize downloading sites through curl php. - jamals
- 2The advice is more than correct. Or do you not understand such a banal algorithm?) We open the Bash.org with a curl, download the main one, save it to
www.com, pull out all the links from it, incl. scripts, css, images and other Ajax, and further "recursively" we will'www.com/'.$filepatheverything into'www.com/'.$filepath. Yes, it is long and hemorrhoid, but quite simple. And still on the third hour of the script, I still advise downloading teleport pro. As an option to ask for ftp access from the hosts)) - Sh4dow - Heh) Well, I think this is the first hemorrhoid option for me) ATP) - jamals
|