Created
July 13, 2012 13:12
-
-
Save iwek/3104823 to your computer and use it in GitHub Desktop.
wget with php exec to save website
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$url = 'csslint.net'; | |
$cmd = "wget -nd -p --convert-links -P downloads/csslint \"$url\" "; | |
exec($cmd); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Blog post about this gist: http://techslides.com/saving-website-html-js-and-css-with-php/