Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I am releasing a PHP application for a friend to use, should I copyright it? [closed]

Tags:

php

release

I made a somewhat large PHP application to handle automated queries for any site (plugged into their existing site structure), it was more of a "challenge" with a reward in the end open to anyone. I put quite a few days into it, I don't want to be mean but I see all the time things like this copyrighted by people.

What would be any benefits, should I place a copyright message in the source, just to claim that I wrote it (be proud of it)? Or should I release it to public domain? I just wanted to get input before I went further.

like image 933
John Avatar asked Sep 06 '10 16:09

John


3 Answers

Were I you, I'd choose a liberal licence that allows anyone to use your code (even under a different licence), but requires an attribution. I usually use BSD for that. There's also MIT, which is similar (and compatible). You could write your own too.

like image 66
mingos Avatar answered Oct 13 '22 00:10

mingos


First point: by the simple act of writing the code, you've already copyrighted it -- at least assuming the Berne Convention applies where you live, which it does (at least in theory) throughout most of the world.

Second, I think the question of placing license requirements is best answered with a question back to you: if you placed requirements (e.g., attribution) and found them being violated, what, if anything would you be do to enforce those requirements?

  1. Do nothing but be pissed off, and have a crappy day because some people are such jerks?
  2. Write them an email if an address happened to be handy, but otherwise, 1).
  3. Really work to find an email...
  4. If they ignore your email, send a paper letter?
  5. If they ignore your letter, send another by certified mail?
  6. If they ignore that, pay a lawyer to send a letter?
  7. If they ignore the letter from your lawyer, actually go to court?

At least IMO, there are really only two choices that make real sense. If it's sufficiently valuable to you that you'd actually and honestly put in all the time, money and effort to go to court over a copyright [Edit: or license] violation, then you should register your copyright (e.g., if you're in the US, at the Electronic Copyright office), and go from there [edit: i.e., imposing and enforcing whatever license restrictions you see fit.]

If you're not willing to defend your licensing requirements in court, then you might as well not put them there in the first place. Ask nicely for attribution, and chances are that most people will give it (in fact, quite a few will whether you ask for it or not). If you run into the inevitable jerk who ignores what you've asked for, don't let it ruin your day though.

like image 36
Jerry Coffin Avatar answered Oct 13 '22 00:10

Jerry Coffin


Of course you should copyright, and publish it yourself first so that there's never any question of ownership. Don't be ashamed of valuing your good work. Leave licenses off until you decide what you what to do with it. The copyright gives you a monopoly, and you can always choose a less restrictive license at a later date. Congratulations on finishing a big project!

like image 35
Tom Campbell Avatar answered Oct 13 '22 00:10

Tom Campbell