The most important element of any PHP script is security. In this article I will be discussing several methods of securing variables in PHP, with special regard to user input. While it is impossible to cover everything in a single article, my goal is to cover a range of topics, focusing on the most common security mistakes and how to fix them. This is aimed at those fairly new to PHP, but perhaps it will give others a few new ideas as well. More »
If you host a website, you have most likely been the victim of hotlinking at one time or another. Hotlinking is when someone displays your images (or other media) on their website by directly linking to your server. This means they get to display your files while your bandwidth is being used. Luckily, it is easy to prevent with the help of the .htaccess file. This article will show some of the better methods to use to stop hotlinking while keeping your server running smoothly. More »
The .htaccess file is simply a text file containing directives (configuration settings) for the Apache web server. It allows you to control the behavior of your server and has an incredible number of uses. Many of the tutorials on this site involve the use of the .htaccess file and this article will give a bit more information for those of you who have no previous experience with it. More »
Custom error pages are often overlooked when designing a website simply because many people do not understand how important they can be. A standard error page gives the proper information of course, but a nice custom error page can do so much more. More »