Is there a way to find out if a user has dual monitors??

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
buttercup821
Forum Newbie
Posts: 2
Joined: Wed Jul 16, 2008 10:25 am

Is there a way to find out if a user has dual monitors??

Post by buttercup821 »

I have an online program and a few users have come across a GUI issue - their menus do not align properly and the only thing in common with the users is that they all have dual monitors. Soooo - I need to check for dual monitors and modify my code accordingly... problem is I have no idea how to check for dual monitors. There must be a system variable I can check, but I haven't had any luck so far.

Can anyone lend a hand?
Thanks!
User avatar
dhrosti
Forum Commoner
Posts: 90
Joined: Wed Jan 10, 2007 5:01 am
Location: Leeds, UK

Re: Is there a way to find out if a user has dual monitors??

Post by dhrosti »

it's not possible with php because it's a server-side language and the only thing it can see is the server. You need to use an advanced client-side language such as Java. (maybe? im unsure on this!)
buttercup821
Forum Newbie
Posts: 2
Joined: Wed Jul 16, 2008 10:25 am

Re: Is there a way to find out if a user has dual monitors??

Post by buttercup821 »

Ok, so I'm looking for a javascipt solution. NOT finding a solution isn't much of an option, lol.

Has anyone else had trouble with GUI dislpays and dual monitors?

Thanks!!
Post Reply