Checking time when file was modified last time

Discussion in 'PHP' started by MN Sandy, Feb 26, 2007.

  1. #1
    Hello,

    could anyone help out with checking the time when the file was modified.

    Main idea is to update file with news.txt only if its been 5 minutes or more since last update.

    Thanks for any pointers:)
     
    MN Sandy, Feb 26, 2007 IP
  2. klown

    klown Peon

    Messages:
    2,093
    Likes Received:
    115
    Best Answers:
    0
    Trophy Points:
    0
    #2
    klown, Feb 26, 2007 IP
  3. rays

    rays Active Member

    Messages:
    563
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    58
    #3
    Hey klown ... thanks for posting information about this function ... i studied few more related functions
     
    rays, Feb 26, 2007 IP
  4. MN Sandy

    MN Sandy Guest

    Messages:
    392
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Nice Chinese url :)
     
    MN Sandy, Feb 26, 2007 IP
  5. klown

    klown Peon

    Messages:
    2,093
    Likes Received:
    115
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Yeah the damn geo-location does that.. its too bad php doesn't have a good encoding detection system otherwise the sites good set the language to what my encoding type is.. instead of my location. All the major sites send me to a chinese version i can't understand.. sometimes I can't even find the english version after that.
     
    klown, Feb 26, 2007 IP