Can PHP determine the client's screen resolution?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
mqD
Forum Newbie
Posts: 3
Joined: Fri Feb 28, 2003 3:35 am
Location: Southern California

Can PHP determine the client's screen resolution?

Post 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
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

Nope, you have to use something clientside (like Javascript) to find that out.

Mac
mqD
Forum Newbie
Posts: 3
Joined: Fri Feb 28, 2003 3:35 am
Location: Southern California

Post 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
Post Reply