Page monitoring with PHP

Asked

Viewed 308 times

1

Hello,

I wonder if there is any way to monitor a page of a particular site via PHP, constantly...and signal as soon as the page is updated.

I found a desktop program that does this (Website-Watcher), but I need an online solution for everything to work via browser.

Those who know where to start help me...I’m a beginner in PHP studies.

Thank you.

  • 1

    You’ll need to use cURL to obtain the contents of the page and a cron job to run the X script in X minutes. If the page changes, the script sends an email or SMS to you. This is the basic idea.

  • What update do you want to monitor? Will header: last-modified doesn’t solve?

  • Friends, thanks for the help...I managed to find a solution via parser. I now invite you to answer my new question: http://answall.com/questions/64665/ajuda-com-estrutura-de-repeti%C3%A7%C3%A3o-php-parser-simple-html-dom-php

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.