Version Checker Script

Discussion in 'PHP' started by PowerExtreme, Apr 23, 2008.

  1. #1
    i need a little help

    i want a script which will check the version of the script from the main server and tell whether its latest or not.
     
    PowerExtreme, Apr 23, 2008 IP
  2. Louis11

    Louis11 Active Member

    Messages:
    783
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    70
    #2
    Should be fairly easy to implement. Do you have the script website? If they provide any sort of feed from their website about that particular script you could just get the latest update and verify it with your script. Otherwise, you may just consider parsing the HTML for the download page, getting the lates version from there and verifying it that way.
     
    Louis11, Apr 23, 2008 IP
  3. champ_rock

    champ_rock Peon

    Messages:
    3,349
    Likes Received:
    115
    Best Answers:
    0
    Trophy Points:
    0
    #3
    the only thing u need to consider is that the main server should not get overloaded because of repeated checks. so u should set some kind of timings on which it checks and not everytime the site is loaded.
     
    champ_rock, Apr 24, 2008 IP
  4. Louis11

    Louis11 Active Member

    Messages:
    783
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    70
    #4
    Use a cronjob.
     
    Louis11, Apr 24, 2008 IP
  5. PowerExtreme

    PowerExtreme Banned

    Messages:
    2,118
    Likes Received:
    75
    Best Answers:
    0
    Trophy Points:
    0
    #5
    how can i do it via xml ?
     
    PowerExtreme, Apr 25, 2008 IP
  6. Louis11

    Louis11 Active Member

    Messages:
    783
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    70
    #6
    Louis11, Apr 26, 2008 IP