Re: Check Screen Resolution With PHP
I don't think that would work unless I'm misunderstanding what the OP wants to do. I assume he wants to get the client's resolution and make layout adjustments depending on it, such as deciding on which stylesheet to use. If this is the case, then I would personally recommend having JS get the width and height on the user's first visit. Then it should set a couple of cookies with these values and reload the page. PHP should then be able to access these values through the $_COOKIES global array.
"But you have access to the greatest source of knowledge in the universe."
"Well I do talk to myself sometimes, yes."
"I'm back, and I'm bad! Obviously within certain, sensible, preset parameters"