PHP: Random Password Generator

May 15, 2009

I find myself wanting random passwords all the time, and on a web project I needed to generate passwords automatically to send out to users. Here is the function I use to create random passwords automatically. /** * Creates a random password * * @param Integer $length – Default: 9 * @param Integer $strength –

PHP + MySQL: Checking to see if a record exists in the database

May 15, 2009

Quite often I need to look into the database to see if a record exists. For example, to check if a username already exists when creating a new user. I created a simple function to do this for me with mysqli. All I have to do is pass it the table name to look in,

Bus Pilots 2009 May Day Show and Shine

May 4, 2009

Yesterday was the Bus Pilots annual May Day Show and Shine, this year at Lakeview Park in Nampa Idaho. It was a great time of hanging out with other Bus Pilots, eating great food(Thanks Josh!), and enjoying the dubs. We were featured on Fox 12! Download the video clip Click on any of the pictures

April 2009 Portfolio

May 1, 2009

I did pretty well for myself this month. The large spike on the very left of the graph was a fluke day, so do not take it into consideration. The market jumped a bit, and a few of the ‘gambles’ I had taken triggered automatic sells so I was able to lock in the increase.

Camping and Rec Washington State Hiking Manual

April 22, 2009

It’s finally done! My Camping and Rec class has a project requirement of each student to build some sort of handbook. Most students choose a retreat or summer camp, but I chose to build a hiking manual. It is pretty comprehensive too. Came out to 94 pages! No wonder it took me 2 weeks of