iPhone user agent

The iPhone launched with this user agent:

Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420+ (KHTML, like Gecko) Version/3.0 Mobile/1A543a Safari/419.3

Here’s a tip to find out the user agent for any browser or device that you’re on (e.g. a kiosk at a mall, a different cell phone, or something else that you tinker with):

– Go to Google
– Search for the word phpinfo. If you visit a webserver running the phpinfo() command, the resulting web page will tell you info about the web server, but it will also tell you about your browser’s user agent.
– Look for a page that actually runs phpinfo() instead of documentation about phpinfo(). Usually there’s a few such pages in the top 10. If you’re having trouble finding a phpinfo() page, you can do a more specific search for the words phpinfo http_user_agent.
– Click on the phpinfo() page and near the bottom of the page look for a string called HTTP_USER_AGENT. You’ll see something like this:

phpinfo user agent

Sorry that the picture runs in the right-hand column; I didn’t want to clip or resize the image. I took this picture running Firefox on my Ubuntu Desktop, so that’s the user agent you see. But this tip works with iPhones and almost any other browser that can search on Google.

So I bought an iPhone..

My wife got an iPhone the day it came out. Robert Scoble got there the day before and slept in line at the Palo Alto store. We stopped by the Palo Alto store around 10 p.m. on iDay, waited less than five minutes, and got one of the last 8GB iPhones before they sold out. I decided to hold off on getting one to see how well the iPhone worked for my wife (she’s a Mac person and I’m… not).

Within a few days, I knew I was going to get an iPhone too. I got my iPhone this past Friday and I’ve got a lot to say about it. This post is more of a pre-warning that I’m thinking of doing more gadget/howto/iPhone blogging over the next few days. If you only read my blog to get thoughts on Google or search engine optimization (SEO), read this post from last year about how to subscribe to a feed that is restricted to Google/SEO posts.

Okay, now I feel ready to do some non-SEO posts. 🙂

css.php