Results 1 to 2 of 2

Thread: HTML Help

  1. #1
    DF Jedi TotallyRandom's Avatar
    Join Date
    Apr 2007
    Thanked:        83
    Karma Level

    Default HTML Help

    Hey all got a bit of a Idea at work would love a wee bit of help with.

    at work we use VoIP phones

    there is a central text file that updates every 5 seconds that is stored on a server
    that shows each every one that is logged in and what they are doing i.e on a call , on break.

    I was looking to bash up a wee HTML file that i could set to refresh every 5 secs that reads this text document so i can quickly see who is doing what.

    here is example of what i want to read

    Login ID State AUX Reason Time Login ID Direction
    123 AVAILABLE 0 1053 TotallyRandom IN
    321 AUX 9 952 Jimmy OUT

    How do i set a HTML to read this Text document to pull only the information i need ?

  2. #2
    DF God BBK's Avatar
    Join Date
    May 2006
    Thanked:        128
    Karma Level

    Default Re: HTML Help

    If you only have HTML available then I would use javascript, there's an activex object that allows you to read a file, though I've never used this. The trouble is it sounds like what you want to do is something that would usually need to be done server side, and it would be a piece of piss to do via php or .net.

    A javascript example would be (and this is totally googled, I take no credit):

    <script type="text/javascript">
    var activeXO = new ActiveXObject("Scripting.FileSystemObject");
    var f = activeXO.OpenTextFile("c:/testing123.txt", 1);
    If you were to use php there's a whole series of commands for controlling files.

Similar Threads

  1. Html Art
    By garthjt in forum Funny/Strange Video Clips
    Replies: 1
    Last Post: 19th June 2007, 04:16 PM
  2. HTML Help
    By jodiewakeman in forum Website Coding & Graphics
    Replies: 10
    Last Post: 31st May 2007, 06:09 PM
  3. More Html Help =]
    By $wish in forum Website Coding & Graphics
    Replies: 2
    Last Post: 5th November 2004, 01:54 AM
  4. HTML help
    By $wish in forum Programming
    Replies: 3
    Last Post: 28th October 2004, 09:10 PM
  5. html
    By hitmandk1985 in forum Website Coding & Graphics
    Replies: 0
    Last Post: 25th May 2003, 11:52 AM

Social Networking Bookmarks

Posting Permissions

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