close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

http require or includes???

Thread began 8/12/2009 10:11 pm by troyd | Last modified 8/14/2009 11:00 pm by troyd | 2994 views | 5 replies

troyd

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?

Thanks,
Troy

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...