Category

PHP


Get Your Most Recent Twitter Status Using PHP

June 22, 2008

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

Using json_encode() and json_decode() in PHP4

May 19, 2008

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

Generate Random Passwords in PHP

May 17, 2008

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

Calculating Zip Code Distances in PHP

May 17, 2008

An excellent PHP class to handle distance calculations. Continue »

Fetching Remote Web Pages With CURL and PHP

April 8, 2008

The simplest way to retrieve a remote webpage using PHP’s cURL library. Continue »

Uploading Files with PHP

November 7, 2007

The bare-minimum HTML/PHP code needed to create a successful file upload script. Continue »

Converting an Excel CSV File to a Consistent CSV File with PHP

November 6, 2007

A PHP function and online conversion tool to convert an Excel CSV to a consistent CSV, making it portable across a larger number of applications. Continue »

Inserting An Array into a MySQL Database Table

October 25, 2007

A streamlined method of inserting an array of values into a MySQL database with detailed results on success or failure. Continue »

Disabling Magic Quotes GPC Using An .htaccess File

October 23, 2007

Yes, it is possible to disable PHP Magic Quotes using an .htaccess file. Continue »

Convert Array Elements To CSV Format

October 3, 2007

A small PHP function to convert all the values in a single-dimension array into CSV format. Continue »