Devi:
  • dirlo a tutto che è rilasciato sotto licenza e quale;
  • se rilasci il codice mettere il prologo della licenza ( per la GPL vei sotto ) in ogni file.
  • come sopra, inserire un file di testo con il prologo della licenza
  • Tutto in inglese, è l'unica lingua in cui è valida la licenza di cui sopra, ovviamente poi tradurla ( la trovi già tradotta ) e inserirla nel file di testo sotto la parte in inglese per semplicità verso gli italiani.


versione come intestazione di un file in PHP, ovviamente modificare ciò che non riguarda propriamente la licenza a proprio uso e consumo.
La parte copyright è obbligatoria, basta che ci metti i tuoi dati.

/*
* login.php
*
* Copyright 2016 Marco Grazia <marco@marcolino>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
* MA 02110-1301, USA.
*
*
*/
guida: http://www.gnu.org/licenses/gpl.html