pixeltrace Posted June 18, 2007 Share Posted June 18, 2007 hi, i dont know if this is already a form of hacking. but is there any php or any scripts that grabs a specfic information in a specific website and send it to you via email? or is there any scripts that can inform you via email whenever there are new items being posted on a specific website? aside from rss feeds? hope you could help me with this. thanks so much! Quote Link to comment https://forums.phpfreaks.com/topic/56024-help-on-grabbing-information-from-other-sites/ Share on other sites More sharing options...
only one Posted June 18, 2007 Share Posted June 18, 2007 go to http://php.net and serch the file() function and html_special_chars() function Quote Link to comment https://forums.phpfreaks.com/topic/56024-help-on-grabbing-information-from-other-sites/#findComment-276689 Share on other sites More sharing options...
aniesh82 Posted June 18, 2007 Share Posted June 18, 2007 You need to get the mail regarding the changes on the site or any specify page on the site? You can read the entire contents of the page (ex: list_items.php) using file_get_contents() function. Then store this file in your site (ex: list_items.txt). Then at regular time interval by reading the contents of the page (ex: list_items.php) and check with the file (ex: list_items.txt) , you can find any changes on the specific page. You can set the page used for checking as CRON JOB. Quote Link to comment https://forums.phpfreaks.com/topic/56024-help-on-grabbing-information-from-other-sites/#findComment-276696 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.