lang="en-US"> Computers | Dave Stockton's Official Blog
<1> <1>

Category: Computers

Happy 20th Birthday PHP

Twenty years ago today, Rasmus Lerdorf, the creator of PHP announced to the world the release of a collection of scripts to help developers build web pages that do more than HMTL can do on its own. Here we are, 20 years later and PHP is running something like 80% of the web. That’s pretty impressive! I’ve been working with PHP for most of that time but haven’t ever written down how that came to be. I started working on PHP back in the late 90’s, probably 1998 based on what I remember. I’ve thought it was 1997 but based on the timeframe, I don’t think that is right. I remember working with PHP 3 and then shortly afterwards upgrading to PHP 4.elephpants

My start with PHP happened back in college. One of my professors had some NSF (National Science Foundation) money for the ACM-W (Association of Computing Machinery’s Women in Computing) to build something that would allow you to more easily find articles about women in computing/technology. At this time, Google was basically a twinkle in the eye of Page and Brin. So I did some research about how I could get something on the web. I think ASP was there but that came with licensing. I stumbled on PHP and a few tutorials from I’m certain this was not great code and the site I produced was likely jammed full of SQL injection and XSS issues and some terrible database design (model tables after Excel spreadsheets anyone?). But we had a working interactive site that allowed users to search and find articles about women in tech and computing. You could search by author, title, publication, year, etc. It was AMAZING. Much of it was extremely procedural and definitely mixed PHP with HTML. I built, ran and tested it on a server called OmniHTTP because it was available for free on windows and I could hook PHP into it.

View full article »

If you’re reading this to figure out how to do the hard drive upgrade on a MacBook Pro that came with Lion installed, I’d recommend either reading all the way through before starting since it will save you some time, or skip to the bottom as it will save you time. If you follow along, you’ll end up doing the same stuff I did which will make your upgrade take longer than it should.

Last weekend (10/2/2011) I picked up a brand new 13″ MacBook Pro (Dual-Core Core i7) from the Apple store. I also picked up 8GB of RAM and an OCZ Agility 3 120GB SSD to upgrade it with.

Both of these upgrades are within allowable modifications for the MacBook Pro without compromising your warranty. Also, for the most part, they are pretty easy upgrades, especially the RAM upgrade. I did, however run into some issues with the HDD –> SSD upgrade which is why I am writing this.

View full article »