Linux, Apache, Nginx, MySQL, Javascript and PHP
Get a domain name’s IP address with PHP
It’s easy to get the IP address for a domain name using PHP’s gethostbyname() and gethostbynamel() functions. This post
Use normal href if Javascript is disabled
I saw a post on a bulletin board somewhere recently where the poster asked how to make the href
PHP is not showing any error messages
Loop through selected elements with jQuery
There may be times when you need to loop through elements in jQuery to collect information, change state or
Deleting messages with PHP IMAP
I’ve been writing a series about sending Google Analytics data by email and then processing the
View email message headers in Outlook 2007
Add an offsite link icon after external links with CSS
It can be useful to have an offsite link icon next to external links on a web page. This
Which browsers support which versions of Javascript
How to tell if an element exists with jQuery
Last week I looked at how to get the total number of matched elements with jQuery
Find unread messages using PHP IMAP
Having reached the conclusion of my series on getting Google Analytics data by email I
Using “group by” and “having” with MySQL
Deleting messages with PHP IMAP and Gmail
My last PHP post looked at how to delete email messages using PHP’s IMAP functions.
Multiple CSS classes for a single element
A useful CSS technique is to apply multiple CSS classes to a single element; this is something I didn’t
How to enable remote access to a MySQL database server
MySQL is often configured to be accessible from the local host only. Recently I moved all my websites from
Force reload of updated CSS and Javascript files with unique filenames
When a CSS or Javascript file is changed the visitor’s browser needs to get the latest copy of the
Selectively delete cookies in Firefox
When developing websites or testing stuff I sometimes need to be able to delete cookies in my web browser.
Get the total number of matched elements with jQuery
There may be times when you need to work out how many times a particular element appears on a