No copyright OR copyleft.
I want my work to be freely distributed and/or modified, but I don't want to force anyone to make their projects open source just because mine is.
No copyleft, check! Copyright however exist always, except you release something into the public domain (which might not be possible in some jurisdictions). Copyright is not a problem, regarding giving rights to others. That's what licenses are for. This was just FYI.
Attribution.
I want credit that the person has modified/used my code. Pretty simple.
[/quote]
"Credit" is relative but the best non-copyleft license in these regards is the
zlib license, which is nearly like the BSD license. The reason is this:
2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
To use an open source license, it is recommended to put it, commented, in the top of each source code file and in a license.txt file.
There are no instruction on how to use it, so I recommend the
how-to-use-GPL-instructions. This will give ideas on where to place a license and where to put additional info near it.