/    Sign up×
Community /Pin to ProfileBookmark

Moniter Resolution Sniff?

Is there a way to use PHP to check what moniter resolution a user is using?

to post a comment
PHP

3 Comments(s)

Copy linkTweet thisAlerts:
@felgallDec 23.2007 — No, you'd have to use JavaScript for that as PHP never leaves the server.

Unless it is for statistical purposes the monitor resolution is not all that relenant in any case since most people with higher resolutions do not have their browser open full screen.
Copy linkTweet thisAlerts:
@Mr_Initial_ManauthorDec 23.2007 — Damn. I was gonna use it to choose a stylesheet for my webpage, since my menu takes up a LOT of room at lower resolutions
Copy linkTweet thisAlerts:
@felgallDec 23.2007 — It wouldn't help much to test the screen resolution in that case then anyway. What you need to use is the internal viewport size of the browser.
×

Success!

Help @Mr_Initial_Man spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.6,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...