Linux, Apache, Nginx, MySQL, Javascript and PHP

Get the ID for the Google Analytics API IDS parameter
Miscellaneous Postings

Get the ID for the Google Analytics API IDS parameter

Google announced an API for the Google Analytics product last week and I posted the start of a

Javascript

jQuery Facebox: setting the width

I’ve been looking at the jQuery Facebox plugin recently which is a Facebook style lightbox for loading remote content,

Javascript

jQuery Facebox window with full height with scrollbar

I’ve been using the jQuery Facebox plugin a fair bit on various websites to show stuff in "inline&

PHP

PHP Caching Headers

Yesterday I looked at how to control browser caching with Apache’s mod_expires and today look at how to

Javascript

jQuery: Get the vertical mid point of the browser’s window

jQuery’s $(window).height() and $(window).scrollTop() can be used to calculate the vertical mid point of a browser’s window.

HTML And CSS

Different CSS style rules for printing

This post looks at how to specify different CSS style rules for printing: using a secondary style sheet for

PHP

Multiple variable assignment with PHP

This post shows how it is possible to assign multiple variables with the same value with PHP. This can

Using Apache mod_expires to control browser caching
Apache

Using Apache mod_expires to control browser caching

Apache’s mod_expires module allows settings by file type to control how long browsers cache files. This is useful

Javascript

jQuery Facebox Basic Example

The jQuery Facebox plugin creates a Facebook like lightbox which can be used to load external pages, images or

PHP

Logging errors with PHP

PHP has several settings for logging errors; in this post I will look at the log_errors and error_

HTML And CSS

Using CSS letter-spacing to space out titles

I was casting about for ideas for this HTML/CSS post and came across the letter-spacing property for setting spacing
MySql PHP

Randomly ordering data with MySQL with a random value column

It's possible to order data randomly with MySQL using ORDER BY RAND() or doing

HTML And CSS

Change element’s properties with CSS based on body id or class

This post shows a similar technique to the one used in my CSS Sprites – making one of the

Javascript

Troubleshooting errors with Yahoo’s YUI Compressor

I use Yahoo’s YUI Compressor to minify Javascript

PHP

PHP command line syntax checking

The PHP CLI (command line interface) allows basic syntax checking of a PHP file. I’ll show the basic usage

Javascript

jQuery JSON Ajax requests and caching

Last week I wrote how to load JSON data with jQuery, PHP and MySQL, noting

Javascript

jQuery: show plain text in a password field and then make it a regular password field on focus – Part 2

Almost a year ago I showed how to have a password field show plain text with a default plain-text

Disable PHP in a directory with Apache .htaccess
Apache PHP

Disable PHP in a directory with Apache .htaccess

If you have a directory which users can upload files into it’s a good idea for security reasons to

1 15 16 17 18 19 50