Can you please spend some time with my doubt... My query is that ... Is there any option or function in PHP to implement automatic updation of web pages with the latest contents from other sites. Like news from news sites etc. Or do you have any idea about doing it. Thank you for spending your valuable time for me Expecting your helpful reply
Ajay :
There are a few ways to go about this :
1. Use cURL to read the pages and their relevant data, parse it, and stick it on your site.
2. If the site that you want has an RSS/RDF feed, PHP can parse that information using the xml/rss functions.
3. If you are on a unix box, you can copy a page on that site, and then at an iterval copy another page, and run diff on it to see if it changes (this is the most rediculous way of doing it, but I have seen it done).
-- Burhan Khalid phplist[at]meidomus[dot]com
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php