06-14-2008, 08:38 PM
|
#4 (permalink)
|
|
La Vida es Sueño
Join Date: Sep 2007
Location: Oldham
Posts: 1,578
Thanks: 72
|
Tree is right. You could use the ZIP archive module for doing that. The Linux method looks far easier to me, as given as an example on the PHP.net page:
php Code:
// Get the date$date = date("m-d-y"); // Make Zip name$zipname = "archive/site-script-backup." . $date . ".zip"; // Make a zip file$cmd = `zip -r $zipname *`;
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
|
|
|