Results 1 to 4 of 4

Thread: Displaying a System variable on a Web Page

  1. #1
    Oh no!I've re-dorkalated! Jiff Lemon's Avatar
    Join Date
    Jul 2003
    Location
    Sunny MK
    Posts
    2,504
    Thanks
    80
    Thanked
    44 times in 41 posts

    Displaying a System variable on a Web Page

    Thought I'd try this one in here....

    Essentially I want a web page displaying a system variable (hostname - the machines name) displayed on a web page.

    If you want the background, the page is going to be an active desktop, which displays the users hostname.

    Can't do it with a batch file, as clicking on it will ask the user whether they want to download or run it.

    Any ideas?

  2. #2
    c0w
    c0w is offline
    Member
    Join Date
    Aug 2003
    Posts
    80
    Thanks
    0
    Thanked
    0 times in 0 posts
    Use a java script or a vb script to pull the information off have some at home, but i'm in work at the moment i'll have a check tonite and see if i can find anything.

    Sean

  3. #3
    Senior Member Shad's Avatar
    Join Date
    Jul 2003
    Location
    In front
    Posts
    2,782
    Thanks
    23
    Thanked
    42 times in 25 posts
    Request.ServerVariables("SERVER_NAME") will work in VBScript when run at the server, but I don't know the client side syntax at the mo.
    Simon


  4. #4
    Oh no!I've re-dorkalated! Jiff Lemon's Avatar
    Join Date
    Jul 2003
    Location
    Sunny MK
    Posts
    2,504
    Thanks
    80
    Thanked
    44 times in 41 posts
    Anyone find anything?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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