Techno Child
web{designer}
- Joined
- 10 Oct 2004
- Messages
- 871
Hey guys.
How could I archive my entire site directory? I do have access to the parent dir, so I could run a php script to archive the folder containing the site. The only problem is, when I put the folder name in place of the file to be zipped - it doesn't archive the contents of the folder. Would I have to list the contents of all folders and sub-folders to be able to archive the entire site?
btw. this is all new to me, I have never used php to zip files before...so it may be one of those "common sense" things.
-tc
How could I archive my entire site directory? I do have access to the parent dir, so I could run a php script to archive the folder containing the site. The only problem is, when I put the folder name in place of the file to be zipped - it doesn't archive the contents of the folder. Would I have to list the contents of all folders and sub-folders to be able to archive the entire site?
btw. this is all new to me, I have never used php to zip files before...so it may be one of those "common sense" things.
-tc