Site update

Hi All,

I have to go to some particular website for every day in backend, so i have created some script to pick that values,
Is there any way to know the website updating,
Because if site has mod. then my script is not giving proper data,
so i need to check once in a day whether the site has updated or not. give some Suggestion.

Use curl or wget to get the site page locally and compare the files using "diff" or any other compare utiity. There are also some html comparison utilities available in the web.