mraiur Posted January 16, 2008 Share Posted January 16, 2008 Hello. I need if it can be done, to generate automaticaly a gzip. Whit all files in a specified folder. Can it be done ? Quote Link to comment https://forums.phpfreaks.com/topic/86246-generate-a-gzip-whit-many-files/ Share on other sites More sharing options...
trq Posted January 16, 2008 Share Posted January 16, 2008 Yes, execute tar via exec. Quote Link to comment https://forums.phpfreaks.com/topic/86246-generate-a-gzip-whit-many-files/#findComment-440532 Share on other sites More sharing options...
mraiur Posted January 17, 2008 Author Share Posted January 17, 2008 Is there any other way because i have to problems. 1. I need it for a Windows( so the arhive i think has to be .zip or .rar ) server and the good servers . But i can install programs on the server so if u can give me a basic example of arhiving a dir whit php on a windows server its going to be real good. 2. I need to know also the basic example for a Unix or Linux servers. Thx. Quote Link to comment https://forums.phpfreaks.com/topic/86246-generate-a-gzip-whit-many-files/#findComment-441542 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.