Posts about php

27
Aug
2016

Collecting Data From pfSense Using collectd

So I've recently been on a graphing thing, wanting to collect all kind of datafrom my home network. And collectd seems to be a good candidate for doing that.With a...
4
Sep
2015

Extending Homestead: Building A Laravel Dev Environment on Mac OS X

I'm a big fan of Laravel and I've really enjoyed building things on it. So I'm going to walk you through a quick lesson in getting a dev environment set...
14
Jul
2015

Securely Signing PHP Phar Files With OpenSSL

PHP's PHAR archives (PHp ARchives, get it?) are a neat development. They're a way to distribute an entire PHP application as a single archived file that can be executed directly...
31
Jul
2012

Merging M4V files on a Mac ... with chapters!

As I've mentioned a couple of times before, one of my projects right now is ripping all the DVDs I own so that I can watch them on my AppleTV...
3
Feb
2012

gitcreate

I've created a new repository on my GitHub account where I can commit some of the little scripts I've written for use on my server. The first one I've committed is gitcreate, a small...
10
Jan
2012

PHP, methods, functions, and the global scope

It's funny. Even after nearly 10 years with the language, there are still little gotchas that sometimes get me. I ran across one today.Say you have two objects, and the...
30
Oct
2011

Goodbye, Eclipse.

Dear Eclipse,We've known each other a long time, haven't we? I remember when we first met. It was way back in 2005, two jobs ago when I was working at...
23
Jun
2011

PHP Filtering: Validation, Sanitizing and Flags

PHP's filter functions are really, really great. I've started using them almost any time I need to get input from a user and, personally, I don't think you should use...
22
Apr
2011

Interview Questions for Programmers

Over the years, I've seen a number of blog posts relating to common questions that should be asked of programmers. Obviously, this is going to depend on exactly what position...
27
Oct
2010

Automatically Provisioning Polycom Phones

The goal of this project were twofold:To completely eliminate the need for me to touch the phone to provision it. I want to be able to create a profile for...
20
Jun
2010

Diffing, flattening and expanding multidimensional arrays in PHP

PHP has functions that can compute the difference between two arrays built in. The comments sections for those functions are filled with people trying to figure out the best way...
13
Feb
2010

MySQL-based Apache HTTP Authentication for Trac and Subversion

In working on a side project with a few friendly developers, we decided to set up a Subversion repository and a Trac bug and issue tracker. Both of these, in...
2
Jun
2009

Drama? In My Developer Community?

... it's more likely than you think!And here I thought drama was isolated to fandom mailing lists and MySpace!I was not at php|tek this year. I keep meaning to make...
30
May
2009

PECL memcache and PHP on Mac OS X Leopard

Wow, has it really been that long since I've written here? I really need to do better.So tonight I ran into an interesting issue this evening in configuring PECL memcache...
14
Oct
2008

Slides from my talk at PHP Appalachia

Tags: asterisk, php, php appalachia, talks, slidesHere are the slides from the talk I gave at PHP Appalachia about using PHP and Asterisk.PowerPoint (585k)PDF (390k)
15
Jun
2008

Security on Shared Hosts

Shared hosts are a reality for many small businesses or businesses that aren't oriented around moving massive amounts of data. This is a given - we can't all afford racks...
15
May
2008

Installing PECL PS on Mac OS X

Tags: php, pecl, ps, leopard, os x, osxThe PHP that comes standard with Mac OS X Leopard doesn't come with the PECL PS extension. PECL PS requires pslib, and the...
14
May
2008

ngrep and memcache

You can use the Linux command ngrep to "watch" what is going into and coming out of memcache. ngrep is an amazingly useful tool for troubleshooting a wide array of...
29
Jan
2008

PHP, PostScript and ATM Fonts

Recently, I've been expermenting with PHP's PS functions - the PECL extension that allows you to directly output PostScript from your scripts. There are other projects that come to mind...
13
Nov
2007

PHP/MySQL in Huntsville/North Alabama

Tags: php, mysql, alabama, meetupJust to let everyone know, we're trying to get a little meetup.com group going for those  developers interested in PHP and MySQL in the Huntsville and...
10
Aug
2007

PHP Templating Celebrity Deathmatch!

Tags: php, smarty, blitz, includes, benchmarksLadies and Gentleman! Welcome to the PHP Templating Celebrity Deathmatch!I actually do like the idea behind templating. I know there are varying arguments about whether...
28
Jul
2007

AGI + PHP: Using PHP to route phone calls!

Tags: php, asterisk, agiHello there!I figure that if I'm going to start using this blog to post the wanderings and wonderings of a mid-level engineer at a dot-com company (I...