You have to know that unless the browser sends you this information somehow in the header, you can't directly retrieve it from your perl script that is ran Server-Side so I think your only bet is, besides asking the visitor for his screen resolution, to try and read it from JavaScript and do a window.location.href="http://someserver/perlscript.pl?width=" + screen.width + "&height=" + screen.height; in your JavaScript or something like that.
Just be sure that you have a default for people who do not have JavaScript turned on, so you do not alienate them from the site.
I hope this helps.
In reply to Re: Get visitor's screen size.
by Chady
in thread Get visitor's screen size.
by Seumas
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |