Page 1 of 1

Can PHP determine the client's screen resolution?

Posted: Fri Feb 28, 2003 3:35 am
by mqD
Hello,

I'm somewhat new to server scripting but seem to be coming along fine. I'm sorry if this topic has been covered before, but 175 pages of topics is kind of a lot to go through for a 28k connection :? .

Anyway, can it be done through PHP? I've come across some code that returns quite a handful of information about a site's visitor, but screen resolution wasn't included. If not, would someone be so kind as to point me in the right direction? Thanks.. :)

Mike

Posted: Fri Feb 28, 2003 3:38 am
by twigletmac
Nope, you have to use something clientside (like Javascript) to find that out.

Mac

Posted: Fri Feb 28, 2003 4:16 am
by mqD
Thank you. That's all I needed to know for now..

Learning Javascript is on my 'to do' list so maybe I'll jump ahead... thanks again.

Mike