A way to determine browser width in PHP without javascript?

browser-width, php

Solution

There is no way to do this. If you want to detect what device is being used then you should examine `$_SERVER['HTTP_USER_AGENT']` for clues.

Problem

First off is there one? Or would I have to use javascript? I'd like to be able to make changes to which CSS is used, so frex I could load smaller fonts for a mobile device, or whatever.

Original source