A Beautiful Site’s Notebook

Recent Entries

Import/Restore SQL Files From the Command Line

Using the command line to import large SQL files into a MySQL database.

Parsing a JSON String Results in an ‘Invalid Label’ Error

How to resolve an invalid label error when parsing JSON strings.

Installing the IE Developer Toolbar

Get the IE Developer Toolbar installed and fully functional in Internet Explorer 7.

Get Your Most Recent Twitter Status Using PHP

A PHP function that will return someone’s current Twitter status.

Determine the Parent Directory of a Path in PHP

A PHP function that returns the parent directory of the specified path.

$.getPOST() for jQuery

POST an AJAX request and have jQuery parse the response as JSON data.

Let’s Set the Record on Download Day

Firefox 3.0 aims to set the record for most software downloads in 24 hours.

Using json_encode() and json_decode() in PHP4

A “future-friendly” JSON solution for PHP < 5.2.

Generate Random Passwords in PHP

A PHP function that generates random strings to use for passwords.

Calculating Zip Code Distances in PHP

An excellent PHP class to handle distance calculations.