Category Archives: Blog
Minify – compress your files on the fly!
Are you, like me, one of those who keeps JavaScript and CSS in multiple files for better structure and who don’t compress the code because you want to have the readability intact in your development environment? Well, then this script is for you! I give you Minify, a script which combines and compress your files [...]
Store your passwords in a secure way!
Update (2010-05-29):The code below is outdated, latest version can be found here. I was writing a basic register-/login-script yesterday and when I did the part where it hashes the password with a salt I realized that there should be a more secure way to store passwords, so I wrote this function. function salt($password, $username, $salt [...]