Results 1 to 5 of 5

Thread: Resolution

  1. #1

    Thread Starter
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256

    Resolution

    Is there a way to find out the screen resolution in PHP?
    My evil laugh has a squeak in it.

    kristopherwilson.com

  2. #2
    Addicted Member Martin Wilson's Avatar
    Join Date
    Mar 2002
    Location
    :)
    Posts
    236
    No, don't think so.
    What is the answer to this question?

  3. #3

    Thread Starter
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    Yeah, me either, since PHP is server-side.
    My evil laugh has a squeak in it.

    kristopherwilson.com

  4. #4
    Member
    Join Date
    Apr 2002
    Posts
    52
    use screen.width in javascript to get the value, put it into a hidden variable, auto submit the form, store value in a cookie (your session essentially), use it in php...

    hth

  5. #5

    Thread Starter
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    Originally posted by thexchord
    use screen.width in javascript to get the value, put it into a hidden variable, auto submit the form, store value in a cookie (your session essentially), use it in php...

    hth
    The thing is, I'm having a problems with screen.width/.height. It doesn't quite work out in Netscape. If you want to check out my problem:

    http://www.vbforums.com/showthread.p...hreadid=165673

    I'm spent on ideas and I can't find anything on the net. It all points to using screen.width/.height.

    Thanks.
    My evil laugh has a squeak in it.

    kristopherwilson.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width