A
Anonymous
Guest
should i use this code to put into a tar the content of a folder?(files,subfolders,files in subfolders,etc)
or instead of '*' i should use '.' ?
anyway...is this logic?
doesnt work for me.
Code:
<?php
$comanda=shell_exec('$ tar --create --file=backup.tar *');
if ($comanda == 1){
print "click 2 download. <a href='backup.tar'>backup</a>";
}
?>
or instead of '*' i should use '.' ?
anyway...is this logic?
doesnt work for me.