Josh Schumacher: A PHP Developer

The biggest and the best in the Northwest

Josh Schumacher: A PHP Developer random header image

Entries from March 2007

PHP – Delete selected items from an array

March 22nd, 2007 · 30 Comments

I was enlightened the day I discovered array_filter. You may find yourself with an array of values and you want to delete some of those values from the array. There is no ‘delete element from array’ function built into php but you can use an even more powerful function, array_filter. Let’s look at a simple […]

[

Tags: PHP

Howto: Exclude developer hits in Analytics

March 16th, 2007 · No Comments

When developing a site, I visit it a lot – OK Josh, that was an obvious. Point is, I was tired of tracking my visits to sites that I maintain. I really care about tracking significant users and how they navigate the site and what pages they find valuable but I don’t care about my […]

[

Tags: Analytics · Javascript · PHP

Facebook, meet iPhoto – iPhoto, meet Facebook

March 15th, 2007 · No Comments

Update: iPhoto ’09 now has native support for uploading to Facebook so you don’t even need to download a plugin. You can read about it on the Apple iPhoto Site. They also have a quick video tutorial on how to upload to facebook from within iPhoto. I am impressed. Facebook announced their long awaited iPhoto […]

[

Tags: Web 2.0

It’s a redesign –

March 12th, 2007 · No Comments

Last week, I decided it was time to freshen things up on my portfolio site. This was a great chance for me to test my css powers and modify the presentation of my semantic XHTML without changing the markup (well very minimally changing the markup – I modified some content during the redesign so I […]

[

Tags: CSS · · Life

Playing well together: Prototype JS and PHP

March 2nd, 2007 · 4 Comments

I’ve decided that manipulating dates client side is a mess. I’ve been working on a multi-user php calendar for the past few months. One of the features I’m most proud of is an availability chart similar to a feature outlook has so you can schedule a meeting with multiple people and see when everyone is […]

[

Tags: Ajax · Javascript · PHP · Prototype