Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: flea333
  • Content: Threads
  • Order by date
  1. flea333

    Logging pings

    I want to repeatedly ping a computer and log when I no longer can ping them. So I need to record the last time it was able to ping the computer.
  2. flea333

    global array

    I have a function and I am defining an array inside it. However I declare the array outside the function so I thought it would be global, however outside the function I can't read the array. I define it as: $imagearray = array(); Then I define each component inside the function.
  3. flea333

    Using opendir() in PHP3

    I am passing a varialbe to opendir, I want to send the directory through the url. My server does not seem to process the variable as a string or something though. When I type in the name of the directory it reads it. What is going on? The code that doesn't work is: $dir = "./".$gallery."/"; if...
  4. flea333

    Using opendir() with a variable

    I am trying to pass a variable directory name to a script but it seems to just open the root directory on the server. Why won't this work: opendir('/'.$gallery.'/') But this does when I specify the string in the code: opendir('/directory/'); Is the variable somehow not a string or something? I...
  5. flea333

    Parsing a file name from the whole path

    What is the best way to extract a random file name from its whole path when the file name and path will always be unique? EX: C:\Documents and Settings\My Documents\Zinni\MTmFreq140dB63_072204.txt I want the .txt file name. Is there a way to search a string backwards for the '\'?
  6. flea333

    Delete leading space on string

    What is an easy way to get rid of a leading space on a randomly size string?
  7. flea333

    Focus on a radio buttong

    I need to select a radio button when I click on an input field. Is there a set focus command to select a radio button?
  8. flea333

    Floating point number conversion

    I have a string: 3.333332976326346e-004 When I use atof is returns 0.00. Is this string too long? Whats going on?
  9. flea333

    strip carriage returns

    I added set aspect rgetchar 13 STRIP and it strips the carriage return following the returned string. But I still have a carriage return before the string. How can I eliminate this?
  10. flea333

    Setting Duplex

    I typed: set duplex full in my script but when I go to Options it shows half duplex. What is going on?
  11. flea333

    if statement

    I need to compare two sets of strings but I am finding it hard with this primitive language. I need to do this: if ((string1 != string2) && (string1 != string3)) the strcmp does not want to work well with ! or 'not'
  12. flea333

    RGET command Duplex

    I am encountering problems retrieving responses from a unit over the serial port because rget seems to want to grap the transmitting commands. I tried changing the duplex and thought it worked at first, but aparently not. I have to transmit a command, then my system responds and I want to read...
  13. flea333

    Server CPU usage

    I want to know how much cpu time it takes the server to read files off the a directory. Basically I want to know if it takes a lot of server time to load all the file names using readdir() because I run it every time this page loads, which is meant to be a lot.
  14. flea333

    Passing Arrays across pages

    I need to pass an array to the same page as it refreshes, I don't want to have to load the array every time the page loads. Is there a way to do this?
  15. flea333

    Alternative to RGET

    Is there a command that can snag data out of the buffer and display it at the same time? The rget steals the text away preventing it from being printed.
  16. flea333

    waitfor - interesting discovery

    I found an interesting thing happen and this is why I thought the waitfor commands were not working! I was using waitfor for the same thing I was transmitting, and for some reason the waitfor read the sent command and reported it got the data. I found this out by specifying MATCHCASE for the...
  17. flea333

    Monitor FAILURE

    Is there a better way to monitor the FAILURE after using transmit rather than using an if statment after each transmit? I have a bunch of transmit statements and would like to make sure the remote system responds properly, I'd like to know a way around putting in an if FAILURE after each one.
  18. flea333

    Capturing more than 256 bytes

    I need to find three strings in different chronological order in a bunch of data fed back from a remote system. The rget only captures 256 bytes, cutting off the last three fourths of my data. How can I easily store all this data and search for strings in it?
  19. flea333

    Clearing entire display buffer

    Is there any way to clear the entire scrollback buffer. Clear just scrolls down so you can't see the old stuff, can I eliminate all thats stored above?
  20. flea333

    waitfor

    I'm sending a transmit string, then after each time I use waitfor to ensure I receive what I want. Well the waitfor doesn't seem to want to work after about 10 or so of them. It just skips right on ahead. I know my data is coming in as the waitfor statement has it. What could be the problems?

Part and Inventory Search

Back
Top