Set php.ini Values Using .htaccess
Did you know that you can set php.ini values right inside the .htaccess file? It's actually very easy.
The .htaccess Code
php_value setting_name setting_value
php_value upload_max_filesize 10M
Of course you could simply place these in the .htaccess file, but .htaccess is a viable alternative if your host doesn't allow you to touch the php.ini file.
It's important to construct your websites in a fashion that lends well to print. I use a page-break CSS class on my websites to tell the browser to insert a page break at strategic points on the page. During the development of my...
The idea of CSS sprites is pretty genius. For those of you who don't know the idea of a sprite, a sprite is basically multiple graphics compiled into one image. The advantages of using sprites are:
Fewer images for the browser to download, which means...