   Which license to use?
  what would be the best license to use for this:They can use the code however they like as long my comments at the top that give me credit for the code stayI have ZERO liability for being sued or anything if anything harmful happens directly or indirectly from using my codeI was thinking of using the codeigniter's license(http://codeigniter.com/user_guide/license.html), just slightly modified, do you think it is a good choice for free code that will still cover my ass.   
  Sounds pretty much like the MIT license.   ;  You could also release it to Creative Commons.   ;  or even the zlib license which I personally tend to favour for stuff like this.   ;  There's a list of OSI approved licenses here, the MIT or BSD license would probably work nicely (note that there's plenty more possiblities, this is just a list of licenses the OSI feel mesh with its definition of open source).   ;  I think the zlib, BSD or MIT licenses will work.   