close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

http require or includes???

Thread began 8/13/2009 1:11 am by troyd | Last modified 8/15/2009 2:00 am by troyd | 1781 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

Sign in to reply to this post

CraigRBeta Tester

It seems a shame that a developer should have to jump through hoops to protect their hard work.

Personally, I would seek legal advice if I felt I had been unfairly treated, as from what you have said, it isn't just the code the client could keep. but it looks like they owe you payment.

Sign in to reply to this post

I-CRE8Beta Tester

For anybody else reading this I highly recommend building clients sites on a staging server so that the client can see progress and test as necessary but has no access to the files until payment is received.

One very important line of my contract reads:
All files will held on our staging server until full payment is received.

Sign in to reply to this post

troyd

Yes, I agree on both accounts. We are working on getting payment from them. And we did develop this on a staging server first. It was originally a very small application. However, once it was installed on their server, changes were made and it grew in size. I should have known better.

I am assuming that I can not protect future work with an external require file or authentication of some kind? I don't even know what that would be called if it did exist, so I am having trouble searching for it.

Thanks,
Troy

Sign in to reply to this post

I-CRE8Beta Tester

You could try a PHP obfuscator. It turns normal, easy to read PHP code into gibberish. This google search brought up lots: search?hl=en&client=firefox-a&rls=org.mozilla:en-US:official&hs=dJQ&ei=Wq6ESrWWKIXSjAeZq5iPCA&sa=X&oi=spell&resnum=0&ct=result&cd=1&q=php+obfuscation&spell=1

Sign in to reply to this post

troyd

Thank you. I am checking out a few of the links now. I had not heard of this, so it helps to know the term to search for.

Troy

Sign in to reply to this post

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...