1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Workstation name (Computer name)

Discussion in 'Programming' started by soapbath, May 22, 2005.

  1. #1
    Hey, is there any way I can colect the workstation name of the people who visit my website, its just that my site is created for students of my school and I have ToS where staff can not view it and I would like to be able to find out if they are breaking the ToS
     
    soapbath, May 22, 2005 IP
  2. Cristian Mezei

    Cristian Mezei Notable Member

    Messages:
    3,332
    Likes Received:
    355
    Best Answers:
    0
    Trophy Points:
    213
    #2
    environment_get_variable('USERNAME');
    environment_get_variable('COMPUTERNAME);

    :)
     
    Cristian Mezei, May 22, 2005 IP
  3. J.D.

    J.D. Peon

    Messages:
    1,198
    Likes Received:
    65
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Unless you are running your website on an intranet and enforce user authentication (eg. IE by default will try to authenticate a visitor using NTLM if an anonymous request fails), all you can rely on is the IP address of a visitor. You can also serve a small Java applet that may provide you more information about the visitor's origin (e.g. their private IP address).

    J.D.
     
    J.D., May 22, 2005 IP