Linux, Apache, Nginx, MySQL, Javascript and PHP
Get the headers sent from the browser with PHP
I recently needed to be able to see what headers the browser sent to the web server with PHP
Enable TortoiseCVS on network shares
TortoiseCVS will not work on network shared drives by default so there won’t be any of the CVS overlays
Solution for
There are a lot of tutorials around which advocate using pure CSS for forms (and not to use tables)
How to tell if an element is visible with jQuery
jQuery makes it easy to determine if an element is visible or hidden with the is() function. This post
PHP for loops and counting arrays
It’s well known that calling count($array) in a for loop in PHP is slower than assigning the count
Get meta tags from an HTML file with PHP
While researching some functions for a PHP article I’m writing I came across the get_meta_tags() function and
Upper and lower case strings with Javascript
I needed to convert a string to lower case the other day with Javascript and wasn’t sure of the
Drop multiple MySQL tables
Last week I looked at how to drop a table with MySQL showing how to do this with a
jQuery Animated Information Box
This post shows how to have a animated information box with jQuery. There are a series of links and
Running a function with jQuery when the window is resized
Although it should be avoided where possible, there may be times when something on a web page needs to
410 “Gone” with PHP
If a resource has been removed from a website, will not be available again and no forwarding address is
Disallow the Internet Archive from your website using robots.txt
The Internet Archive runs the "Wayback Machine" at www.archive.org
Get the number of days in a month with PHP
This post shows how to get the number of days in a month with PHP by specifying the year
Always make FCKEditor paste as plain text
FCKEditor is an in-browser Javascript WYSIWYG editor. It has a useful “paste as plain text” function which removes all
How to enable the PHP GeoIP functions on Debian 5
The geoip_* PHP functions utilise the GeoIP library from Maxmind to geolocate IP addresses to country names. These functions
PHP GeoIP functions throw notices if the IP address is not found
I recently posted how to do geo targeting with PHP with the GeoIP functions but