mootools php faith camera linux

php

Jay Johnston php and
php references



PHP User Array Sort
Use PHP to sort a multidimensional array by values stored in the array's keys
Posted: 2014-03-03 10:38:44 more...

AWS Elasticache Auto Discovery
When using elasticache for aws, take advantage of auto discovery!
Posted: 2013-08-08 19:48:13 more...

CSV Import - Use header row to make a field map
To prevent new fields in a csv import from breaking an import, make a field map.
Posted: 2012-01-17 20:36:17 more...

Parse Addresses in PHP using Google Geocoding
Need to parse the city, state, zip and address out of a one-liner? Use this Google API
Posted: 2011-12-20 22:45:19 more...

Make a CSV export from a MySQL DB
Use this little script to export a mysql table into a csv. Output the headers for downloading the csv as an attachment.
Posted: 2011-08-03 14:28:22 more...

My Emma Web Service Example - myemma.com webservices my emma api
Having trouble with the lack of myEmma webservice api examples? Look here for myemma webservices example!
Posted: 2011-07-20 14:21:52 more...

Possible PHP Parser Error
Perplexing PHP Parser Ponderance: Is this a potential error in the probably perfect PHP parser? Purvey and purport your findings!
Posted: 2011-06-09 22:43:29 more...

First day and Last day of Month with PHP's mktime()
Need last month's first day and last day in date format? Use php's mktime to pick the month day's up quick!
Posted: 2010-08-11 18:39:27 more...

Code Challenge - Double an Array
Pull these columns from the pages table, double the array with columns postfixed
Posted: 2009-07-07 14:23:19 more...

Procedural, Functional, Object Oriented

Posted: 2009-05-01 11:36:45 more...

Search Engine Optimization (SEO)
SEO via a new, simple approach: the Magic 6: SEO URL, SEO Title, SEO Keywords, SEO Descriptions, SEO HTML Header Tags, SEO Page Content
Posted: 2009-02-07 08:25:24 more...

Resize Images
This function proportionally resizes images on the fly and outputs them to the browser.
Posted: 2009-01-08 12:46:59 more...

Cast Comparisons and Control Types
In studying for the php5 exam, I have found what is potentially the most trivial and stupid information.
Posted: 2008-11-26 20:54:28 more...

Smarty Randomization
Smarty templating is great. But how do you get a random number? The answer is more simple than you think.
Posted: 2008-11-05 17:49:01 more...

Switch on true
Ever needed to do more with your switch statement? Switch on the value true and feed the case a statement to evaluate.
Posted: 2008-11-05 17:37:02 more...

Process Form Checkboxes
Need to access the values of a checkbox in a form?
Posted: 2008-09-18 07:49:17 more...

header function
Need to send a 404 (file not found) or 302 (redirection)? Use the header function.
Posted: 2008-08-30 11:02:12 more...

No more PHP Safe Mode
PHP safe mode is deprecated and in PHP6 it has been removed.
Posted: 2008-08-30 10:30:25 more...



Creative Commons License Jay Johnston is a Zend Certified Engineer in PHP 5 LPI-ID: LPI000102450, Verfication Code: wmnnt56y2k  ... Jay Johnston is certified as LPIC-1 by the Linux Professional Institute