Articles » Tags » PHP
Installing PEAR on OS X 10.6.8
December 28th, 2011This quick guide describes the process for getting PEAR (a PHP package management utility) installed on OS X.
Tumblr-like Template Syntax PHP Library
November 20th, 2011This is an explanation of a PHP templating language I’m working on, which will have a similar syntax with the language used by Tumblr.
Enabling PHP 5.3 on Media Temple Grid Service (gs)
September 17th, 2011A single line of code to add to your apache configuration files enables PHP 5.3 on Media Temple’s Grid Service accounts.
SleekMVC: Simple and Lightweight PHP5 MVC Framework
September 11th, 2011SleekMVC is the beginner-friendly, lightweight, and nicely-documented framework PHP developers have been looking for.
VIM as a PHP IDE
August 26th, 2011Configuration for VIM for users coming from the IDE world. Gives you a file browser and method browser, along with other goodies.
PHP Method Chaining
August 24th, 2011How to chain class methods in PHP, allowing for a more verbose way to pass information into your objects.
Simple PHP Namespace Friendly Autoloader Class
August 23rd, 2011This is a namespace-aware PHP 5.3+ autoloading class. Never use include()’s again!
Simple PHP MySQL Script
May 28th, 2011This is a very simple PHP script for working with MySQL databases. I first wrote it back in 2005.
Submitting Multi-Dimensional Array Data to PHP
March 19th, 2011This article is regarding an under-documented PHP feature when dealing with form data received from an HTML page (this works with both GET and POST data). If you name your HTML elements the proper way, you are able to send multidimensional arrays (or single dimension arrays for that matter) to your PHP script and access [...]
CodeIgniter 2 vs Kohana 3
February 28th, 2011We’ve been doing more research into different PHP frameworks. We’ve been using CodeIgniter for a few projects recently (e.g. NeoInvoice, StockPyle, ObsceneArt 2.0 (WIP), Squirrelify, and a Martial Arts school software), but are starting to feel the limitations. CodeIgniter makes development a breeze. There is a common method for loading external resources, connecting to databases, [...]
Installing PECL :: ncurses on Ubuntu 10.04
January 19th, 2011I recently had the task of installing the PHP PECL extension ncurses on my Ubuntu 10.04 (Desktop) machine. PECL is a repository manager for PHP extensions. Ncurses is a tool for doing all sorts of awesome command line terminal stuff, such as colors, building windows, updating part of the screen instead of the entire screen, [...]
PHP / MySQL Web Application Migration Steps
October 7th, 2010I was recently asked how easy it is to move a web application based on the PHP/MySQL realm of web application development. When moving a static website, one can “drag and drop” the website from one location to another, and things usually work just fine, so surely moving a web app is this easy? Unfortunately, [...]
Time Differences between PHP and MySQL
June 13th, 2010The difference between reported times of MySQL and PHP compared on both a Windows and a Linux server.
Introducing SofaDB, a pure PHP CouchDB Alternative
May 1st, 2010An introduction to our SofaDB project, which is a pure PHP alternative to Apache’s CouchDB project. Useful for storing non-relational data. Currently the project is in alpha stages.
Zend Certified Engineer (ZCE) Study Guide Links
March 2nd, 2010The listing of items from ZCE for the exam, with relevant links compiled by Renowned Media.
PHP cURL Replacement
February 26th, 2010If you are a PHP developer who writes a lot of software which needs to be executed in many different shared hosts, it can often be frustrating when certain hosts don’t offer all of the functionality your applications require, specificially the cURL libraries. I’ve seen these missing on several hosts, either for security reasons or [...]
Accessing CodeIgniter Session Data using External Scripts
February 20th, 2010PHP Sourcecode so that a non CodeIgniter PHP script can access data stored in the users CodeIgniter session.
Enabling file_get_contents() and fopen() With Remote URL’s on MediaTemple
February 9th, 2010
How to enable access to remote files on MediaTemple using the functions file_get_contents() and fopen().
PHP cURL cookies not saving on Windows
January 17th, 2010Why cURL doesn’t work well with relative paths that PHP works fine with, and a workaround for the issue.
Web Spidering
November 26th, 2009
Spidering, in its simplest form is the act of transferring data from one database to another. Spidering requires the use of Regular Expressions, the cURL library (if POST data or cookies are used), and the cron libraries (if we need to download information with a schedule).
