Linux, Apache, Nginx, MySQL, Javascript and PHP

MySql PHP

Create a CSV file from MySQL with PHP

There are a couple of ways to export data from MySQL to a CSV file (refer to my

PHP

JpGraph Error Can’t access PHP_SELF, PHP global variable

One of the sites I work on uses JpGraph to generate

MySql

Show indexes for a table with MySQL

MySQL has a SQL query "SHOW INDEX FROM" which returns the indexes from a table. This post

Windows Vista Black Screen After Login
Windows

Windows Vista Black Screen After Login

This morning I came down to the office to check my email and my Windows Vista machine presented me

Applications

Backup/export bookmarks with Mozilla Firefox 3

It is possible to backup and restore bookmarks from Mozilla Firefox 3 and also import and export them as an

Javascript

Pad a number with leading zeroes in Javascript

As far as I have been able to tell there isn’t a built-in way with Javascript to pad a

MySql

Export data to CSV from MySQL

MySQL has a couple of options for exporting data: using the command line tool mysqldump (read my

The user is not associated with a trusted SQL Server connection
Microsoft SQL Server

The user is not associated with a trusted SQL Server connection

Microsoft SQL Server allows you to connect using “windows authentication mode”, which means using Windows logins, and “SQL Server

VMWare Server – errors opening virtual machines from Workstation/Player
VMWare

VMWare Server – errors opening virtual machines from Workstation/Player

VMWare Server 1.0 doesn’t support the same set of features as the more recent versions of VMWare Workstation and VMWare
HTML And CSS

Valid characters for the HTML ID attribute

The ID attribute in HTML tags has a limited set of allowable characters and a web page will not

PHP

Command line arguments for the PHP CLI

The PHP command line interface or CLI allows you to run PHP scripts from the command line. It also has
Javascript

Format a date time in Javascript in database format

In some admin forms for own purposes I needed to have a "now" function to put the

HTML And CSS

Targeting specific versions of Internet Explorer and other browsers with conditional comments

Internet Explorer’s conditional comments can be useful for applying different style sheets

Javascript

Pad a number to two digits with Javascript

Javascript

Loop through key value pairs from an associative array with Javascript

This post looks at how to loop through an associate array with Javascript and display the key value pairs

PHP

Command line arguments with a PHP CLI script

PHP has the getopt() function for getting options or command line arguments from a CLI PHP script. This provides a
Linux/Unix/BSD PHP

Fix the “call to undefined function ImageCreateFromPNG” error in PHP on Debian

If you call the ImageCreateFromPNG function (and similar image processing functions) in PHP and do not have the GD

PHP

Get a list of IP addresses for a domain with PHP

On Thursday I looked at how to get a domain name’s IP address with PHP

1 30 31 32 33 34 50