Page 1 of 1

Page Changed

Posted: Tue Aug 25, 2009 6:31 pm
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?

Re: Page Changed

Posted: Tue Aug 25, 2009 7:23 pm
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#

Re: Page Changed

Posted: Wed Aug 26, 2009 12:28 pm
by shunter65
I tried this solution, but it always seems to return 0.