Click to See Complete Forum and Search --> : How to properly GPL PHP scripts?


mrBen
12-09-2003, 12:34 PM
OK - in a weird position. Somebody asked me how much I would sell the PHP work I did on a website for.

My immediate thought was - it's free, I will GPL it.

But

How do you go about GPLing a PHP script?
Does all the licensing stuff need to be present on the website where the script is applied?
Or only if they pass on the source code to other people?
If they make amendments for their site, do they have to then post those amendments somewhere on the net?
What changes do I need to make to GPL something - I think I need to include some files when I pass the stuff on, but is there anything else?

(I was trying to read stuff at gnu.org, but it seemed to be down :( )

AdaHacker
12-09-2003, 06:23 PM
Originally posted by mrBen
How do you go about GPLing a PHP script? In exactly the same way you'd go about licensing any other program under the GPL. Read the last section of the GPL. All you need to do is afix the copyright notice and disclaimer of warranty to the top of each source file and include a copy of the GPL when you distribute it.
Does all the licensing stuff need to be present on the website where the script is applied? What licensing stuff? The GPL places no restrictions on simply using the program, which is, I assume, what you're talking about.
Or only if they pass on the source code to other people? They can distribute verbatim copies as long as they include a copy of the GPL and appropriate copyright notice and warranty disclaimer. If you add these yourself, they can simply pass on the same archive you distribute to them.
If they make amendments for their site, do they have to then post those amendments somewhere on the net?
No. You can modify GPLed programs for your own personal use without having to distribute them. If you do choose to distribute them, then you have to note any changes and license them under the GPL.
What changes do I need to make to GPL something - I think I need to include some files when I pass the stuff on, but is there anything else? As I already mentioned, all you need to do is include the appropriate copyright notice and disclaimer of warranty in the source files (it's probably a good idea to add these to any documentation as well) and include a copy of the GPL. Understanding all the legalese in the GPL can be daunting, but the license is really quite easy to use.

mrBen
12-10-2003, 04:16 AM
Thanks for the help.

(Felt really dumb for having to ask, but got confused when it came down to web-based stuff, rather than other source code)