Page Changed

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
shunter65
Forum Newbie
Posts: 2
Joined: Tue Aug 25, 2009 6:29 pm

Page Changed

Post by shunter65 »

I'd like to develop a program (or if anyone knows of any open source alternative in PHP), that can notify me if a particular page on the web has changed. I would only be using it for myself and for about 25 different pages, and I'd like to be able to set it to check maybe once an hour or something of that nature.

Anyone know how I would even begin to go about doing something like this?
User avatar
califdon
Jack of Zircons
Posts: 4484
Joined: Thu Nov 09, 2006 8:30 pm
Location: California, USA

Re: Page Changed

Post by califdon »

How about checking the last modified date on the file and storing it in a database where you can compare it later? Getting the last modified date from a remote URL is described here: http://www.daniweb.com/forums/thread173183.html#
shunter65
Forum Newbie
Posts: 2
Joined: Tue Aug 25, 2009 6:29 pm

Re: Page Changed

Post by shunter65 »

I tried this solution, but it always seems to return 0.
Post Reply