That's a good question. Some sites, such as codeproject.com states that all code can be freely used for either personal or commercial use, sort of like GNU license.. If you read the TOS link at the bottom of the page I don't see anything of that sort.
I took the question to mean that he found a code snippet elsewhere on the web and wanted to enter it into our code snippet library, citing the original author of the snippet. In such a case, we require you be the author of any code snippet you submit into our library.