Linux, Apache, Nginx, MySQL, Javascript and PHP

PHP

PHP’s ini_get_all function

PHP has a large number of configuration options which can be set in the php.ini file, Apache virtualhost

Javascript

Get a UNIX timestamp with Javascript

The Javascript Date object has a number of functions for working with dates and times. The getTime() method returns

Javascript

Find the index of the element that was clicked with jQuery

There may be times when you need to know the index of the element that is clicked from within

MySql

MySQL: Find records in one table that are not in another – revised

A couple of weeks back I posted how to find records in one table that are not in another

PHP

Log PHP errors with log_errors and error_log

PHP errors are by default logged to the web server’s error log file (at least they are with the

HTML And CSS

Style HTML form elements optgroup and option with CSS in Firefox

Last week’s HTML/CSS post looked at using optgroup to group options in an HTML select box and this

PHP

Automatically append or prepend files in a PHP script

It is possible with PHP to automatically append or prepend a file to a script using the auto_append_

Applications

Playing DVDs with Windows Media Player 11

I have Windows Media Player 11 installed on my Windows Vista desktop and was surprised when I went to play

Microsoft SQL Server MySql

Describe table structure with MS SQL Server

This is the second in a series of three posts about using the sp_tables, sp_columns and sp_stored_
Javascript

Rounding numbers with Javascript

The Javascript Math object has various mathematical functions and constants including .round() for rounding, ceil() for rounding numbers up

Javascript

Clear upload file input field with jQuery

The value of an HTML file input field cannot be changed or reset (without doing a full form reset)

Javascript

Scroll to the top of a webpage with jQuery

This post shows a simple way to make anchor tags with e.g. href="#top" scroll to

HTML And CSS

Using optgroup to group options in an HTML select box

Following on with my current theme of looking at some useful form tags in HTML (last week I looked

How to enable mouse wheel scrolling in Kubuntu under VMWare
Linux/Unix/BSD VMWare

How to enable mouse wheel scrolling in Kubuntu under VMWare

I’ve just set up a new VMWare virtual machine with Kubuntu 8.04 and the scroll wheel on my mouse didn’t

Linux/Unix/BSD

Recursively download files using FTP with ncftpget

I very occasionally need to support people with websites on servers other than those I manage. If the server

Get a list of tables with MS SQL Server
Microsoft SQL Server

Get a list of tables with MS SQL Server

I’ve recently been doing some work with Microsoft SQL Server but the server itself for this particular customer is
Javascript

Loop through selected elements with jQuery (Revised)

Earlier today I posted how to loop through elements in jQuery but as pointed out by Bloid at DZone

Linux/Unix/BSD

Switch off sound notifications in Fedora 9 KDE

After installing the KDE 4 edition of Fedora 9 into a VMWare Server virtual machine, I kept getting “audio playback device

1 28 29 30 31 32 50