I'm working on an animal shelter web site that is hosted locally to maintain an animal managament database and at a remote, public server to show the public images of the available animals. The local site contains a folder of JPG images of pets. I would like to mirror the contents of this folder to the public web site.
My intent is to have PHP compare the contents of the local folder to the remote folder whenever an image is added to or deleted from the local folder. I understand the PHP functions that check if file exists and move files but was wondering if anyone knew of a premade script that I could learn from. This seems like a task that must have been done before, and by someone with a better clue than myself.
- - picklefish - -
Why is everyone in this forum responding to me as picklefish?
My intent is to have PHP compare the contents of the local folder to the remote folder whenever an image is added to or deleted from the local folder. I understand the PHP functions that check if file exists and move files but was wondering if anyone knew of a premade script that I could learn from. This seems like a task that must have been done before, and by someone with a better clue than myself.
- - picklefish - -
Why is everyone in this forum responding to me as picklefish?