Linux, Apache, Nginx, MySQL, Javascript and PHP

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

Applications

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

PHP

Extract images from a web page with PHP and the Simple HTML DOM Parser

HTML And CSS

Solution for

There are a lot of tutorials around which advocate using pure CSS for forms (and not to use tables)

Javascript

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

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

PHP

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

Javascript

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

MySql

Drop multiple MySQL tables

Last week I looked at how to drop a table with MySQL showing how to do this with a

Javascript

jQuery Animated Information Box

This post shows how to have a animated information box with jQuery. There are a series of links and

Javascript

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

PHP

410 “Gone” with PHP

If a resource has been removed from a website, will not be available again and no forwarding address is

Miscellaneous Postings

Disallow the Internet Archive from your website using robots.txt

The Internet Archive runs the "Wayback Machine" at www.archive.org

Javascript

Relatively moving a div left or right with jQuery

jQuery’s animate() function can do a lot of useful animation effects (

PHP

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

FCKEditor

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

Linux/Unix/BSD PHP

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

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

1 23 24 25 26 27 50