I was recently deploying a PHP site to a client hosting their content with IIS 7. In my code, I typically raise and handle exceptions. My philosophy is simply that exceptions are logical operators like “if”, “then” and “while”. At any rate, when I deployed this code to the production environment, IIS would raise an HTTP 500 exception. This is not ideal.
After hours of desperate searching, I finally found the solution to appropriate exception handling with php on IIS on the iis blog. The solution was more of a footnote about halfway down the page in the php.ini section. The trick is to set fastcgi logging to false. Not the most ideal solution, but I was finally able to handle exceptions the way php code should.
From iis blog: “FastCGI logging should be disabled on IIS. If it is left enabled, then any messages of any class are treated by FastCGI as error conditions which will cause IIS to generate an HTTP 500 exception.”
php.ini
Stuff I'm Working On, web iis, php
Bryce McDonnell is a Ruby on Rails and PHP web applications developer in Portland, Oregon.
Learn More about his company, sites and get online marketing help at brycemcdonnell.com
A little while ago, I posted some javascript for a mootools content slider. I’ve used it a lot in my own Ruby on Rails and PHP development work and my work with jv2 I have been itching to just drop it into my code like Squeezebox or Swfobject.
So, here it is, a fairly beta version of a horizontal content slider written with the Mootools 1.2 framework. Simply download (or copy and paste) the ContentSlider class into your page and then instantiate with the required arguments.
Read more…
HowTo, Stuff I'm Working On content slider, javascript, mootools
Bryce McDonnell is a Ruby on Rails and PHP web applications developer in Portland, Oregon.
Learn More about his company, sites and get online marketing help at brycemcdonnell.com
Kevin Rose, founder at Digg.com was flying from SFO to New York city this morning when he connected to Virgin America’s on board wi-fi connection and began streaming his trip from 30,000 feet.
Utilizing twitter, he sent out a tweet with a link to where people could view his stream. Interacting with the audience of over 700, he gave a quick tour of the plane from his seat, showed his viewers his neighbor and the view from his window.
A very cool interactive experience which shows that the Internet is becoming more ubiquitous all the time.

had to share, technology web
Bryce McDonnell is a Ruby on Rails and PHP web applications developer in Portland, Oregon.
Learn More about his company, sites and get online marketing help at brycemcdonnell.com
I recently implemented a javascript based slider using MooTools. I’m increasingly becoming a huge fan of Mootools. Their documentation is great and the code I write just seems to be much cleaner. I don’t feel like it’s as fragile as js I’ve written in prototype/scriptaculous.
The content slider, which I pretty much implemented verbatim using Antonio Lupetti’s great tutorial at http://woork.blogspot.com/2009/01/elegant-animated-weekly-timeline-for.html.
Antonio’s tutorial is really great. It is missing two elements which I think improve the code base: Read more…
Stuff I'm Working On coding, HowTo, javascript, mootools
Bryce McDonnell is a Ruby on Rails and PHP web applications developer in Portland, Oregon.
Learn More about his company, sites and get online marketing help at brycemcdonnell.com
I write Facebook applications. It’s part of my job. When I show them off to customers, I’m a little uncomfortable adding them as a friend. They don’t need to see the crazy shenanigans of my friends and me. I signed up for my “private” version of Facebook this morning and learned that Facebook officially restricts the Irish.

I mean, who else has more than one capital letter in their name?
had to share funny
Bryce McDonnell is a Ruby on Rails and PHP web applications developer in Portland, Oregon.
Learn More about his company, sites and get online marketing help at brycemcdonnell.com