Your user agent is:
Getting a user's user agent string is incredibly simple to achieve using PHP.
You can also set the user agent string using PHP...
Setting the user-agent can be useful when scraping content from other websites. I'm sure there are other uses for it too - as a matter of fact I use this with RSS2twitter, as my website blocks anything with an empty user-agent, and it won't work otherwise.