Login or Sign up Help | Site Map
Connecting Tech Pros Worldwide

providing license for product

Question posted by: sbettadpur (Member) on May 16th, 2008 02:49 PM
hello,


Is anybody knows how to put license file for our product, which is developed using PHP,Mysql,Javascript etc....

My requirement is like this

i have developed one product i want customers to use our products freely for some trial period eg 30 or 50 days like that after that application as to ask license key.

For this is there any tool....

i searched in the internet i found zend guard.
next one i got some PADL (PHP Application Distribution License)

but i am not clearing about above one pls anybody knows reply for this
Would you like to answer this question?
Sign up for a free account, or Login (if you're already a member).
dlite922's Avatar
dlite922
Needs Regular Fix
406 Posts
May 17th, 2008
10:24 AM
#2

Re: providing license for product
Quote:
Originally Posted by sbettadpur
hello,


Is anybody knows how to put license file for our product, which is developed using PHP,Mysql,Javascript etc....

My requirement is like this

i have developed one product i want customers to use our products freely for some trial period eg 30 or 50 days like that after that application as to ask license key.

For this is there any tool....

i searched in the internet i found zend guard.
next one i got some PADL (PHP Application Distribution License)

but i am not clearing about above one pls anybody knows reply for this


You must first obfuscate/encode (or both) your code to do this.

For it to "expire" there has to be some registration date to install your software. (See how PHPBB does it). Maybe automatically set it in DB, but HiDe it. (ie call it something other than "expiration date", call it ....er "print functoinality" and make it date in Unix format (bunch of integers), you get the point.


You could also have the software report back to your server (if its always connected to the internet) and build an API that checks the status of the subscription. XML?

It is very difficult to really protect PHP code. But once you obfuscate it and encoded it, you'll be one step closer to security. All you have to do is just program a self-expire in the "demo" version of the software.

Good luck,

Dan

Reply
Reply
Not the answer you were looking for? Post your question . . .
170,099 Experts ready to help you find a solution.
Sign up for a free account, or Login (if you're already a member).

Top PHP Forum Contributors