Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I am working on a PHP script that I plan to sell without giving the user the ability to distribute it to anyone else.

I have heard about GPL being viral and I have quite a few libraries that are being used in my script that are under the GPL. (for example : jquery, phpthumb etc)

Does this mean that if a user who has bought my code can freely distribute it because a part of my code is under GPL so it becomes viral and my whole project becomes GPL ?

Can i not use any GPL code in my project ?

Thanks for any help.

share|improve this question

migrated from stackoverflow.com Nov 4 '11 at 15:32

This question came from our site for professional and enthusiast programmers.

1  
jQuery is dual-licensed, both under the GPL and the MIT license, which is very permissive –  Joachim Pileborg Nov 4 '11 at 10:11
add comment

1 Answer

If you use GPL code in your project, you have to release it under the GPL license. For more informations, see http://www.gnu.org/copyleft/gpl.html. However, JQuery is also licensed under the MIT license, which is more permissive, and you can purchase a commercial license for phpThumb.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.