Magicode.org - where experts come together.
Securing your users passwords is essential if you run a web site that require users to log in, but this is often neglected, leaving many web sites with user profiles stored with plain text passwords. Here why you should start storing hashes instead of passwords, and how to do it.
A variable is a means of storing a value, such as a text string or a number. In PHP you do not have to declare your variable, as it's automatically declared when you set it. Since you do not need to declare the variable, you do not have to specify what kind of data it contains either.
If you have a web site or blog, it's important to spread the word, and what's better than a properly designed and updated RSS feed? Here's how to write a PHP script that fetches the last 10 items from your database and writes it to a RSS-file.