Half Moon Bay

I’ve been hanging out at the beach in Half Moon Bay lately. Reminds me of Pacific Beach in San Diego. About the only think it reminds me of Pacific Beach is the fact that it is the beach, not much else.

Another photo of the sunset at Poplar Beach

Lisa Hannigan




Went to see Lisa Hannigan. What a great concert... Her voice is amazing. It was a packed crowd.

Lenka

I remember Lenka’s “The Show” song was on one of the iTunes free music Tuesday’s. I really enjoyed the song and found out she was performing in San Francisco. I decided to go, and it was a great show.









Bird and Bee




I listened to Bird and Bee on YouTube and really wanted to see them live. I got the chance when they came to San Francisco. Inara George was great, she has a great voice and is does a great show. Here cover of “Can’t Go For That” was pretty neat.

Jimmy Eat World Clarity Tour!





Went to the Fillmore to see Jimmy Eat World on their Clarity x10 tour. It was great!!! The concert was originally sold out but thankfully they had some extra tickets the day before the show!

SproutCore

Decided to look in to SproutCore. It is a framework for building JavaScript applications. After looking at the demos I became interested in learning more about it. Installing SproutCore was straightforward. The framework uses a lot of the same design as the Cocoa framework. It makes use of key-value coding and key-value observing as well as the MVC (Model-View-Controller) paradigm.

PHP register_globals

Recently a client asked me to host their web site. Previously their host was using an ancient version of PHP. The entire site made use of the register_globals directive. In PHP versions prior to 4.2.0 register_globals was set to on. When PHP 5.3.0 was released register_globals was deprecated and eventually removed all together in PHP 6.0.0. It makes sense removing register_globals since it can be a security issue. In the past scripts would automatically be populated with global variables, but it wasn’t known where these variables actually came from. Many PHP developers would use register_globals to read a form variable. Lets say you have a text field inside of a form with name set to firstName. In the PHP script that handles the form you would automatically have a variable named $firstName.

The code I inherited was doing exactly this, since the version of PHP I was using was version 6.0.0, I couldn’t use register_globals. Instead you need to explicitly read the form variables from the $_GET array, or $_POST depending on the method the form is using.

// Grab user first name and last name

$firstName = $_GET[‘firstName’];
$lastName = $_GET[‘lastName’];

Lil Wayne Concert

Can’t wait for the Lil Wayne concert March 27!!!



Lil Wayne is coming to the HP Pavillion!!! Can’t wait for the concert!!!

http://www.kmel.com/pages/iammusictour.html