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

Discussion in 'PHP' started by pawanagrawal, Oct 9, 2010.

  1. #1
    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
     
    pawanagrawal, Oct 9, 2010 IP
  2. csparks

    csparks Member

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #2
    Anything you do is pretty much going to be crackable. What most applications do is encode parts of the script with zend or another encoder.
     
    csparks, Oct 9, 2010 IP
  3. Bohra

    Bohra Prominent Member

    Messages:
    12,573
    Likes Received:
    537
    Best Answers:
    0
    Trophy Points:
    310
    #3
    Bohra, Oct 9, 2010 IP
  4. ivan.kristianto

    ivan.kristianto Active Member

    Messages:
    136
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #4
    Actually i'm developing that kind of script.
    But it is still under development.
    Basically make the license system and encrypt all the php source file.
    And php client will check the license to the server and permit it.
     
    ivan.kristianto, Oct 10, 2010 IP
  5. HuggyEssex

    HuggyEssex Member

    Messages:
    297
    Likes Received:
    4
    Best Answers:
    2
    Trophy Points:
    45
    #5
    I've made programs like this before, what I done was to create a few checks in the script which check with my server if the person holds a valid licence. I encoded all that section, worked fine for me.

    Glen
     
    HuggyEssex, Oct 10, 2010 IP