06-14-2008, 07:38 PM
|
#4 (permalink)
|
|
TalkPHP Loves You
Join Date: Sep 2007
Location: Nottingham
Posts: 1,427
Thanks: 69
|
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.
|
|
|