School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!
Welcome to Dream.In.Code
Become an Expert!

Join 306,790 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,540 people online right now. Registration is fast and FREE... Join Now!



's Contributions
Below are the tutorials, code snippets, and resources has submitted to dream.in.code. For more information on Kudos and contributing to dream.in.code visit: http://home.dreamincode.net/?p=about#kudos.
Tutorials
No Tutorials Submitted.
Code Snippets
Submitted: September 27, 2009        Views: 267
Checks if a string is a palindrome
Submitted: May 17, 2009        Views: 866
Some people would probably call this over secure, others might call it not secure enough. Either way, this will hash your password pretty well. (Based on SHA512, but a little more secure.) Adds salt to the beginning, middle and end of the password, as well as hashing with SHA512 and changing the first half of the SHA512 with str_rot13.
Submitted: June 5, 2009        Views: 909
Created for my lottery site, originally. Generate x random numbers, no repeats, from number 1-x. Uses random.org for "real" random numbers, if random.org fails to load for some reason it resorts to php's built-in rand() function.