+ Reply to Thread
Results 1 to 8 of 8

Thread: display user OS

  1. #1
    SecureStealth is offline x10Hosting Member SecureStealth is an unknown quantity at this point
    Join Date
    Jun 2005
    Posts
    46

    display user OS

    hey i was wondering if someone knows what the code is to display a user's OS and screen resolution. i just dont remember what its called. like for IP addresses its "REMOTE_ADDR"

  2. #2
    Brandon Guest

    Re: display user OS

    REMOTE_HOST Sends the hostname making the request.
    REMOTE_ADDR Sends the IP address of the remote host making the request.
    REMOTE_USER If server supports authentication and script is protected, this is the username they have authenticated as. (This is not usually set.)
    HTTP_USER_AGENT The browser the client is using to send the request.

  3. #3
    Bryon is online now Administrator Bryon has disabled reputation
    Join Date
    Apr 2005
    Location
    Northfield, NH
    Posts
    7,608

    Re: display user OS

    It's possible with Javascript, and 100% impossible with PHP. When I get home from school if I remember I'll get you a link or two.

  4. #4
    SecureStealth is offline x10Hosting Member SecureStealth is an unknown quantity at this point
    Join Date
    Jun 2005
    Posts
    46

    Re: display user OS

    thanks NedreN. i look forward to those links. and i know it can be done with javascript its just most of the time the file needs to be parsed by the server meaning it needs to be in .shtml format, however i use PHP so most of the javascript scripts i have found dont work.

    DesertWar what about OS and Screen Resolution though?
    Last edited by SecureStealth; 01-11-2006 at 09:08 PM.

  5. #5
    Brandon Guest

    Re: display user OS

    Hmm... I know NedreN is right most places have an image that can tell.

  6. #6
    Bryon is online now Administrator Bryon has disabled reputation
    Join Date
    Apr 2005
    Location
    Northfield, NH
    Posts
    7,608

    Re: display user OS

    PHP (Getting *some* details.):
    http://www.geekpedia.com/tutorial22_...formation.html

    Javascript (Operating system, browser, etc.):
    http://www.developertutorials.com/dt...p?id=4296&vt=0

  7. #7
    Brandon Guest

    Re: display user OS

    NedreN's right again! But if the user has JS disabled.

  8. #8
    SecureStealth is offline x10Hosting Member SecureStealth is an unknown quantity at this point
    Join Date
    Jun 2005
    Posts
    46

    Re: display user OS

    thanks NedreN! im gonna check out those links now

+ Reply to Thread

Similar Threads

  1. Ads Management for SMF user
    By djcrash in forum Free Hosting
    Replies: 0
    Last Post: 08-07-2006, 09:36 AM
  2. PHP: User Logging
    By pulse__xx in forum Tutorials
    Replies: 3
    Last Post: 11-13-2005, 11:59 AM
  3. PHP BB 2.0.16 Manual instalation
    By GFIV in forum Free Hosting
    Replies: 8
    Last Post: 09-14-2005, 12:40 PM
  4. Do we use the Ranking system here?
    By Cycloneflame in forum Off Topic
    Replies: 14
    Last Post: 04-28-2005, 10:55 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers