Find and replace hyperlinks and email addresses in PHP

Written on

These two PHP functions use regular expressions to add the appropriate HTML anchor tags around hyperlinks and email addresses in $string.

What are favicons?

Written on

A favicon (pronounced "fave-icon") is a small, iconic image that represents your website. Favicons are most often found in the address bar of your web browser, but they can also be used in lists of bookmarks in web browsers and feed aggregators.

Using JavaScript to prevent comment spam

Written on

Comment spam (also known as 'link spam', 'blog spam', and 'wikispam') occurs when people or spam bots post comments on someones blog, guestbook, or wiki for the sole purpose of boosting traffic and promoting better search engine rankings for their site. Like email spam, it can be particularly annoying and troublesome to deal with.

Password protection using .htaccess and .htpasswd

Written on

The simplest way I know to password protect files and directories using Apache's .htaccess and .htpasswd files.

GIF, JPEG or PNG? Using images on the web

Written on

This article aims to describe the difference between the three most popular types of images used on the Web, and how to use them effectively in your websites.

Business cards

Written on

VistaPrint delivered 1,000 “A Beautiful Site” business cards the other day, and I couldn't resist playing with them.

An Event Apart, Boston

Written on

The plane took off from Orlando as I sat half asleep in my seat. With my laptop at my feet, I wondered what kind of intriguing things I would learn at the web conference I had signed up for. I anticipated this day for months now and it was finally here. I was on my way to An Event Apart, Boston. Wow!

A Beautiful Site launched

Written on

I'd like to introduce my new web design studio. After considering a list of potential names and designs, I finally came up with a name that I thought fitting for the kind of web design business that I want to run.