Ok, I know you have all heard this many times before, but how would I go about getting the screen res of the current visitor into a MySQL DB?

I know that PHP being a server side language, is not capable of this, so I need to use Javascript. No problem, I can do that. But once it is in the JS var, where do I go from there?

Is there a temp env var that I can set to the JS var, the set the PHP var equal to that? Sorta like using the enviornment var as the bridge between PHP and JS.

Suggestions? Thanks