Select Page

Installing PEAR on Windows 8

PEAR is the PHP Extension and Application Repository.  It’s basically an add-on to PHP that has a bunch of frameworks that are available.  You can read more about it at the official site. Getting PEAR onto my system was not obvious.  I came across two articles...

Compiling LESS Files

Recently, I gave up on using Eclipse in favor of NetBeans.  I had also considered Visual Studio for my Windows machine, but NetBeans was easy to setup a project that did not get in the way of the folder hierarchy and worked well with my local WAMP setup. As I started...

Using LESS in Eclipse

If you are trying to use LESS files in Eclipse, you will notice that those files are viewed as plain text – no indenting, no color-coding, no outlining, etc.  If you want to fix this up so that these LESS files behave like CSS files, do the following: Install...

How to perform a regex using PHP

Regular expressions are generally not intuitive. Regular expressions in PHP are especially not intuitive. In short, there are some special rules to writing regular expressions using PHP.  Here are some differences: Delimiters // Traditional – no delimiters...

Restrict access to web server folders

Ever want to prevent users from accessing specific areas of your site?  You can do so through software; for instance, WordPress has a login mechanism for users.  But let’s say that you want to prevent the general public from accessing a specific area of the site...