Creating a PHP Styleswitcher

One of the benefits of creating a CSS-rich website is that you can change how the website looks completely, simply by creating a new stylesheet. This means that you can skin your CSS-based website using multiple stylesheets, instead of the old route of creating separate header and footer include files. Once you’ve created your stylesheets […]

Skinning (Theming) Your Website with PHP

I’ve followed countless methods for skinning/theming my website and they’ve always been flawed with cross-browser compatibility issues or have serious security issues. This little script will help you skin your website without having to rely on bad coding or constant troubleshooting. First, create your skins folder. This will contain another folder for every skin you […]