Cheat Sheets
mod_rewrite (V2)
HTML
Microformats
ASP / VBScript
HTML Character Entities
JavaScript
MySQL
mod_rewrite (V1)
CSS (V1)
PHP (V1)
RGB Hex Colour Chart
Articles
Writing Secure PHP, Part 4
The fourth part of the Writing Secure PHP series, covering cross-site scripting, cross-site request forgery and character encoding security issues.
Block Referrer Spam (Updated)
Referrer spam is becoming increasingly common. At best, it will only render your log files useless. At worst, it can cause your site to be dropped by search engines and your running costs to skyrocket. Here's how to block spurious referrers.
Writing Secure PHP, Part 3
The third part of the Writing Secure PHP series, covering weak passwords, clients and more advanced topics.
Writing Secure PHP, Part 2
Learn how to improve your security a little further with the second part of this PHP tutorial.
Password Protect a Directory with .htaccess
A tutorial explaining how to retrict access to a directory on a web server using .htaccess.
Preload Images with CSS
How to preload images using CSS and so avoid delays with rollover effects.
Writing Secure PHP, Part 1
Learn how to avoid some of the most common mistakes in PHP, and so make your sites more secure.
The Box Model For Beginners
An explanation of what the box model is and how it is treated by different user agents.
Caching output in PHP
High-traffic sites can often benefit from caching of pages, to save processing of the same data over and over again. This caching tutorial runs through the basics of file caching in PHP.
HTTP Status Codes Explained
All valid HTTP 1.1 Status Codes simply explained.
Blog Posts
Why You Should Always Salt Your Hashes
Hashes are used almost everywhere on the web, behind the scenes, to protect your passwords. Learn why it's important to always add salt to your hashes.
Click here to read this post »
16 December 2009 | 16 comments | security, database, passwords, programming, webdev
Rex Swain HTTP Viewer Bookmarklet
Rex Swain's HTTP Viewer is a great tool for checking HTTP status codes, redirection, and so on. I've been unable to find a bookmarklet, though, for sending the URL I am viewing to the viewer automatically, so I put one together:
Rex Swain's HTTP Viewer
