I know this is the stupidest question ever but is it possible to check the resolution of a viewer with PHP? I'm trying to do something like this:
If the user has a resolution bigger than 800x600, echo some code, if it is 800x600 or smaller, don't echo the code.
If it can't be done in PHP what can it be done in and how do I do it?