Jump to content

What's the best way to code and distribute free trial license?


Recommended Posts

I sell a webscript which is written in the php language. What I want to do is create a license for each user and limit the script installation to one domain only.

 

Also, I want to distribute this same script as a free trial for 15 days. After that the user must upgrade. The script will call home to verify if the user has valid record in our server or not.

 

What's the best and "hard to crack" way to distribute license in that way?

 

There is no fool proof way of doing this.  As a good scripter could rip out that part of the code.  Although a good scripter would be able to just write the code themselves.

 

You could base64 in chunks, then as a group.  <- I've seen it done this way more than once. 

 

Bottom line is that everything written in PHP is able to be reverse engineered.

I'm aware that everything written in php can be decoded. I just want to make the job harder.

 

What I actually need is that I store the "activation code" in my server and have my script check for that code to activate the script.

 

That way I can deactivate the script if the user ask for the refund.

 

I have heard ionCube or Zend guard can do those. Any suggestion? (I want my script to be self contained and don't want another script to be installed first for using my script)

 

You need to make the script call a script on your server that accesses your database and returns a code.  Based on this code the script would run, or return an error to the user.

 

No one here is going to write this code for you for free, and then you charge for it.  That would just be dumb on our part.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.