Linux, Apache, Nginx, MySQL, Javascript and 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
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
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: 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
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
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
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_
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
Describe table structure with MS SQL Server
Rounding numbers with Javascript
The Javascript Math object has various mathematical functions and constants including .round() for rounding, ceil() for rounding numbers up
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)
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
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
I’ve just set up a new VMWare virtual machine with Kubuntu 8.04 and the scroll wheel on my mouse didn’t
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
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
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