By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,827 Members | 2,195 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,827 IT Pros & Developers. It's quick & easy.

providing license for product

100+
P: 121
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
May 16 '08 #1
Share this Question
Share on Google+
1 Reply


dlite922
Expert 100+
P: 1,584
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
May 17 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.