can php detect client browser monitor size/resolution?

show_lol picture show_lol · May 21, 2009 · Viewed 43.9k times · Source

Php can detect IP, hostname, client agent etc. Can php detect client browser monitor size/resolution?

Answer

PaulJWilliams picture PaulJWilliams · May 21, 2009

No, it cant. PHP runs on the server, so it cant detect client settings unless you take specific client-side steps to pass the info to the PHP scripts on the server.