Archive for November, 2006

Regular Expressions, PHP and Newline Characters

Sunday, November 26th, 2006

Ahhhh, regular expressions. They are so handy, but can be such a pain in the ass to use. While coding up a basic script to do a small amount of screen scraping, I remembered a problem I encountered a couple of years ago; one that I was unable to solve at the time. It involves […]

Javascript, Tables & InsertBefore

Sunday, November 26th, 2006

I was trying to dynamically add rows to a table and ran into a problem with both Firefox and Internet Explorer. I had a table with a couple rows of data and there was a link to add a new row at the bottom of the table (in its own row).

The javascript simply cloned the […]

Zend Framework 0.2, Incubator, RewriteRouter and FontController

Wednesday, November 15th, 2006

After time away from the Zend Framework, I dove back in yesterday to play around with 0.2 version. I decided to use the incubator, as there as some fairly significant changes in the works, and I wanted to see what was in store for later releases. By setting your include path to check the incubator […]

Google Analytics & Secure Connections with HTTPS

Tuesday, November 14th, 2006

I ran into a small problem with Google Analytics and secure connections. I worked with a company to get a secure certificate installed and noticed that the Google Analytics tracking code placed on the pages was calling a script from http and not https. This raised an alert in Internet Explorer asking if you […]