http require or includes???
I am sure this is a dumb question. And I might not be asking it at all correctly. But is there a way to have a required file on a different server than the application is running?
My reason for asking is this...
I would like to prevent something that has recently happened to me. I spent quite a bit of time working on an application in php for a client. Once I had it just the way they wanted it, they locked me out of their server and now they have a copy of my folder of files. I'm not sure if they know what to do with them, but my guess anyone who they hire will figure it out enough to continue where I left off.
They have promised to delete the files, but I have no idea if they did. Long story short, they "hired" me to create a section to their web site that they were having trouble doing themselves. At first it was just simple stuff and some graphics. But soon turned into a need for a database and a dynamic list of records. So I created what they wanted using DA. After they were charged for my time, they tell me that they are closing the site for personal reasons and can't settle with me.
So I got to thinking. If I had a bulk of the code on my server with an include or require, this would/might protect me a little in the future. Is this even possible or allowed in php?
I have searched and studied my books with no success.
I have experimented with it but I kept getting errors. Any reference would be appreciated. And if this can't be done, are there any other tricks to protect your work?