faqts : Computers : Programming : Languages : PHP : Common Problems

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

3 of 4 people (75%) answered Yes
Recently 3 of 4 people (75%) answered Yes

Entry

how to extract information from another site in details where when update it update in my site

Dec 26th, 2005 07:00
Praveen Kumar Kukkapalli, mohamed monier,


You can read the content of the file using file() function. More details
can be found at http://www.php.net/file.
You need to parse the values using reguilar expressions so that you can
extract the values from that site. If you set this up as a
schedular/cron then it will periodically checks and update your site.