Skip to content

Instantly share code, notes, and snippets.

@iwek
Created July 13, 2012 13:12
Show Gist options
  • Save iwek/3104823 to your computer and use it in GitHub Desktop.
Save iwek/3104823 to your computer and use it in GitHub Desktop.
wget with php exec to save website
<?php
$url = 'csslint.net';
$cmd = "wget -nd -p --convert-links -P downloads/csslint \"$url\" ";
exec($cmd);
?>
@iwek
Copy link
Author

iwek commented Jul 17, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment