PHP compare 2 web pages


I have clients and they have their personal pages in my web based system.

I also have their past page source codes in my database. I want to compare the current page with the one stored in the database and want to show the difference using <ins> and <del> tags.

Please guide me if there is a good way to do this.


I would look into file_get_contents and mysql_query

I’m using PHP-Diff and it’s doing the work!