PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
It is currently Thu Dec 03, 2020 12:01 pm

All times are UTC - 5 hours

Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Tue Jul 26, 2011 7:01 am 
Forum Newbie
User avatar

Joined: Thu Apr 16, 2009 3:28 am
Posts: 18
I'm offering PHP solutions to my clients in two ways:

1. I deliver full PHP source code, complete with comments / documentation / etc, so they can modify and expand it and build upon it themselves (and/or call me for further development later on, if they prefer)

2. I only deliver a working PHP script, no comments / documentation, they're not supposed to modify this (so they get a solution as-is and need to get back with me if they want changes)

Obviously I charge less for nr 2, essentially they're buying functionality here. This comes in the form of .php files that work on their server, but aren't supposed to be easily modified.
In this scenario I keep full commented and documented php source code locally, and only deploy a minimal / stripped version to them, so they cannot easily mess around with it.

I understand this can never be achieved 100%, since they still get working .php files one way or the other. But what would be the best approach to this? Stripping comments, reducing variable names, and obfuscating the .php files? Or are there other possibilities?

When I google on obfuscate php I get quite some alternatives, and I've also heard of Zend Guard which seems to do something similar. Any solutions you can recommend?

PostPosted: Tue Jul 26, 2011 1:30 pm 
DevNet Master
User avatar

Joined: Thu Mar 15, 2007 6:28 pm
Posts: 2765
Location: Redding, California
Looks like there's an obfuscator here: ... scator.jsp

Or you can use Zend Gaurd or Ioncube. Note though that these require the client to install extra software, namely the Zend Gaurd Runtime Decoder or Ioncube Loader, respectively.

PostPosted: Mon Aug 08, 2011 6:44 am 
Forum Regular
User avatar

Joined: Sun Jul 01, 2007 7:11 am
Posts: 870
you need to use something like ioncube or PHP Encoder from NuSphere

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours

Who is online

Users browsing this forum: No registered users and 6 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group