Using PHP to determine if a localfile has been replaced?

Posted by Rob on Stack Overflow See other posts from Stack Overflow or by Rob
Published on 2010-04-27T06:10:56Z Indexed on 2010/04/27 6:13 UTC
Read the original article Hit count: 148

Filed under:

I have a MySQL database with some URLs in it. One URL per row. Each URL has my script on it. What I am wanting to do, is check if the file is still there via a PHP script. Not check if it 404'd, but rather check if it has been modified or replaced. Is this possible? If so, how would it be accomplished?

© Stack Overflow or respective owner

Related posts about php