I'm trying to write a function within my opensource script that will check with a remote server (my site) to see if there is a new version of the script being installed on the users server. Ideally, I would like to be able to have the user click a button to automatically transfer the updated script files to their server if there is an update available and then unzip the files on the server.
I've tried several different functions, but nothing has come close. I can't do FTP since I don't want the FTP username/password made available to everyone. I also can't seem to get the two servers to communicate to determine if there is an update in the first place. I've read info about CURL, but it seems like it can be turned off by some webhosts, so it might not work for everyone.