Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 finding the screen properties using php.. (possible? or not)
Index -> Programming, PHP -> PHP Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Homer_simpson




PostPosted: 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...
Sponsor
Sponsor
Sponsor
sponsor
Blade




PostPosted: Sun Aug 24, 2003 4:55 pm   Post subject: (No 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
Amailer




PostPosted: Sun Aug 24, 2003 6:34 pm   Post subject: (No subject)

Don't think its possiable...

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




PostPosted: Sun Aug 24, 2003 7:17 pm   Post subject: (No 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
Homer_simpson




PostPosted: 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!!!
Amailer




PostPosted: Mon Aug 25, 2003 12:22 am   Post subject: (No subject)

Well, the link i posted proved it also Confused
Amailer




PostPosted: Mon Aug 25, 2003 12:36 am   Post subject: (No subject)

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




PostPosted: Mon Aug 25, 2003 1:07 am   Post subject: (No subject)

not to worry i'll mix up some java script with my php and the problem solved Sniper
Sponsor
Sponsor
Sponsor
sponsor
Display posts from previous:   
   Index -> Programming, PHP -> PHP Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 8 Posts ]
Jump to:   


Style:  
Search: