This may sound odd, but i have been trying to come up with an opensource solution for generating a license key for php applications.

I know Zend Studio has a license key module that allows you to code one in, but i was trying to do it without needing additional or new software and also doing it on the fly, when they install the app.

any ideas?

I thought of just using the rand command to generate the key, but then the problem comes in "loggin" it somewhere.

And then the more important problem is putting it somewhere where the user can't just change it, and also checking it agaist a validator.

anyway .. i would appreciate any input, good or bad, towards this solution.

Thanks,
Chris

    I recommend you reconsider what you're selling.

    Software is not a product which can be put in a box and sold, in most cases. Consider selling a service instead of software.

    Mark

      Consider selling a service instead of software.

      This is one of the best answers to a question I've seen seen here. Good call.

        Write a Reply...