title: Guidelines for an automated PHP script updater
body: <p>I have a set of files for a custom-made CMS, and now that the client base is actually growing, I need an auto-updater of some sort that will do it via cron job each night perhaps. </p>
  
  <p>Basically it needs to replace all files under /admin (including .php and .js files, no .css files as it refers to the master domain all the time). </p>
  
  <p>I'm wondering what the best way to do this is - my files are not on a public github repository of any sort, so I'll just have to manually ZIP and upload perhaps, or just do it on the server file manager to gzip it? </p>
  
  <p>I just need some guidelines on how to go about this to reduce security issues etc. Is this the best approach? To download a compressed file, and then uncompress it? When uncompressing a file, does it automatically overwrite the existing files without question? </p>
  
  <p>I don't want to use a command-line utility for this, as some of the accounts sit OUTSIDE of my server so I can't really do any copying of files via SSH or anything of the sort. </p>
  
  <p>Thank you for your help. </p>