Computer Science Canada

finding the screen properties using php.. (possible? or not)

Author:  Homer_simpson [ Sun Aug 24, 2003 4:45 pm ]
Post subject:  finding the screen properties using php.. (possible? or not)

well this is how u do it in java script...
code:
<script type="text/javascript">
document.write("Screen resolution: ")
document.write(screen.width + " * ")
document.write(screen.height + "<br />")
document.write("Available view area: ")
document.write(screen.availWidth + " * ")
document.write(screen.availHeight + "<br />")
document.write("Color depth: ")
document.write(screen.colorDepth + "<br />")
</script>

i'm pretty sure that it aint possible to do in php... but u might know a way to do it...

Author:  Blade [ Sun Aug 24, 2003 4:55 pm ]
Post subject: 

http://www.google.ca/search?q=finding%2Bthe%2Bscreen%2Bproperties%2Busing%2Bphp&ie=ISO-8859-1&hl=en&meta=

i did a search at google and found this.... along with a link that says

http://www.phpbuilder.com/mail/php-db/2000101/0198.php

Author:  Amailer [ Sun Aug 24, 2003 6:34 pm ]
Post subject: 

Don't think its possiable...

or maby it is
http://forums.devshed.com/t19949/s.html?highlight=Javascript+vnscript

Author:  Blade [ Sun Aug 24, 2003 7:17 pm ]
Post subject: 

both the link that you gave, and the link that i gave, says its not possible for the following reason:
php is server-side...therefore you have to use javascript, which is client-side

making what you're trying to do IMPOSSIBLE with php

Author:  Homer_simpson [ Mon Aug 25, 2003 12:03 am ]
Post subject:  Re: finding the screen properties using php.. (possible? or

Homer_simpson wrote:

i'm pretty sure that it aint possible to do in php... but u might know a way to do it...

that's exactly what i thought!!!

Author:  Amailer [ Mon Aug 25, 2003 12:22 am ]
Post subject: 

Well, the link i posted proved it also Confused

Author:  Amailer [ Mon Aug 25, 2003 12:36 am ]
Post subject: 

Well i did not know. Never did anythign like that before Confused

Author:  Homer_simpson [ Mon Aug 25, 2003 1:07 am ]
Post subject: 

not to worry i'll mix up some java script with my php and the problem solved Sniper


: