Download a file and save to path

To do it in PHP:

$f = file_get_contents($url);
file_put_contents($path_to_new_file, $f);

Prev PostUbuntu - add new user from command line
Next PostUbuntu - add existing user to existing group

Leave a reply