Highlander Posted August 3, 2008 Share Posted August 3, 2008 This is just a quick question: To add copyright to my code, I have added this to each PHP file and HTML file. Is this enough? /* * $Id$ * * Copyright (c) 2008 Johan Grahn * Released under the BSD license * */ Link to comment https://forums.phpfreaks.com/topic/117912-license-in-code/ Share on other sites More sharing options...
jonsjava Posted August 3, 2008 Share Posted August 3, 2008 I would think so. I release all my code under Copyleft, but that should work for you. Link to comment https://forums.phpfreaks.com/topic/117912-license-in-code/#findComment-606521 Share on other sites More sharing options...
JasonLewis Posted August 3, 2008 Share Posted August 3, 2008 You can even say "refer to license.txt". Then have more detailed information there. Link to comment https://forums.phpfreaks.com/topic/117912-license-in-code/#findComment-606526 Share on other sites More sharing options...
PHPTOM Posted August 3, 2008 Share Posted August 3, 2008 Yeah that would be enough. But if you don't want people to know your code to copy it in the first place, encrypt it. ---------------- Now playing: Jay-Z And Linkin Park - Izzo/In The End via FoxyTunes Link to comment https://forums.phpfreaks.com/topic/117912-license-in-code/#findComment-606593 Share on other sites More sharing options...
LemonInflux Posted August 3, 2008 Share Posted August 3, 2008 Or, if you're using PHPDoc, you can use @license http://www.site.com/path/to/the/license.txt BSD License ---------------- Now playing: August Burns Red - The Truth of a Liar via FoxyTunes Link to comment https://forums.phpfreaks.com/topic/117912-license-in-code/#findComment-606594 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.