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 TouchToneTommy 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: carg1
  • Content: Threads
  • Order by date
  1. carg1

    Uninitialized value message

    In a script I'm working on, I'm using this block of code to convert a file's Date Modified as the filename for the output file: #Ops stores the stat function ran on the previous input. $Ops = (stat($DB))[9]; #Converts the date to a readable format ($sec, $min, $hour, $mday, $mon, $year, $wday...
  2. carg1

    Matching

    Hello everyone. I have this code, originally courtesy of FireMyst, and I modified it. Originally it counted instances of user IP addresses from the records in log files. Now I want to get the addresses the users visited. I've got it pulling out the addresses and counting them, but I don't...
  3. carg1

    Counting iterations of a loop

    Hello everyone. What I want to do is go through a loop, and when it has gone through that loop one or more times, I want it to run a subroutine. The code I have so far is this: print &quot;\n\nPlease enter the name of the file to load: &quot;; $DB = <STDIN>; chomp($DB); INPUT: $Choices =...
  4. carg1

    Problem with a time hash

    Okay so I'm still wrestling with these log files. What I'm trying to do now is get it to go through and add up how long a user stayed on a page. The log is formatted like this: 19.33.44.63 2003/08/05 0009:38:11 PASSED http://www.slashdot.com 110.25.12.6 2003/08/05 0009:38:11 PASSED...
  5. carg1

    Epoch time setting

    If I had a list that had times in it, and I wanted to set the epoch to the first time in that list, how would I pull that off?
  6. carg1

    Text parsing question

    Well I'm convinced I'm using the split function wrong if my output is anything to go by. What I want to do is take lines formed exactly like the following (with the exception that there's multiple spaces between the columns in the real thing): 10.1.3.4 08/13/2003 14:18:30 PASSED...
  7. carg1

    Wrong time returned by stat function

    I don't understand this problem. This script is meant to read a text file from a content filter and let you query it by any text input. For some reason, it won't return the right date modified date in the section where I ask it to call for it. I want to use that as part of the filename when it...

Part and Inventory Search

Back
Top